PC Review


Reply
Thread Tools Rate Thread

How to Convert a Chinese Character to HEX

 
 
=?Utf-8?B?c2VuZ2tvaw==?=
Guest
Posts: n/a
 
      15th Mar 2005
Hi ,
how can iconvert the chinese character (unicode) to HEX value ? is that i
need to convert it to ASCII then convert to Hex ?
 
Reply With Quote
 
 
 
 
=?UTF-8?B?TWFyY2luIEdyesSZYnNraQ==?=
Guest
Posts: n/a
 
      15th Mar 2005
Hi,

Do you mean "Hex" as "Hexadecimal" number format?
If so, then you can do that:

char chr; // your unicode character
string chrAsHex=((int) chr).ToString("x");

HTH
Marcin

> Hi ,
> how can iconvert the chinese character (unicode) to HEX value ? is that i
> need to convert it to ASCII then convert to Hex ?

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Chinese character to UTF8 for hyperlink wal Microsoft Excel Programming 0 19th Mar 2011 02:56 AM
Cannot view chinese character in outlook especially chinese simpli =?Utf-8?B?U3RldmVu?= Microsoft Outlook 1 17th Mar 2006 02:45 PM
How to convert a Chinese character into unicode number? Richard Hsiao Microsoft Excel Programming 1 22nd Sep 2005 01:41 PM
Can I use Excel to convert Chinese character into Unicode? =?Utf-8?B?UmljaGFyZCBIc2lhbw==?= Microsoft Excel Misc 0 22nd Sep 2005 10:06 AM
Convert simplified Chinese/UTF-8 string to traditional Chinese (Big5) David Microsoft Dot NET Framework 1 8th Nov 2004 02:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:40 AM.