Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^5: How do I convert a sequence of hexes (D0 D6) to Chinese characters (中)?

by Anonymous Monk
on Jun 07, 2011 at 10:18 UTC ( #908444=note: print w/ replies, xml ) Need Help??


in reply to Re^4: How do I convert a sequence of hexes (D0 D6) to Chinese characters (中)?
in thread How do I convert a sequence of hexes (D0 D6) to Chinese characters (中)?

I do not get the character .... Any idea of what is going wrong?

Your thing responsible for drawing characters doesn't understand utf8.

Neither does mine :) but od -tacx1 shows the correct bytes

0000000   d   8   -  cr  nl
          Σ   ╕     \r  \n
        e4 b8 ad 0d 0a
0000005


Comment on Re^5: How do I convert a sequence of hexes (D0 D6) to Chinese characters (中)?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://908444]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2014-07-31 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (244 votes), past polls