Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Convert Hex to unicode then to Chinese character

Posted on 2004-08-17
3
Medium Priority
?
6,798 Views
Last Modified: 2012-06-27
Hi there,

I would like to know how to convert a hexa code to unicode and display the unicode in the browser as
chinese character.

example: I have a hexa code that looks like below:
004100690044006500540069004b00750061006e004a00697231768463d06b3e673a
and
00520065006e005400690061006e00540061006e0067004c00690075004c006500694efb592958026d416cea

How am I convert these 2 hex code to unicode and display it as chinese character in the browser
using JSP/servlet?

Please advice me on this .....

thanks in advance
0
Comment
Question by:kennethcky
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
ss_p earned 140 total points
ID: 11852086
Try something along the lines of

char myUnicodeCharacter = (char) Integer.parseInt(myFourDigitHexString, 16);
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With the evolution of technology, we have finally reached a point where it is possible to have home automation features like having your thermostat turn up and door lock itself when you leave, as well as a complete home security system. This is a st…
With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question