Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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?
[LanX]: Bishop LanX starts singing: ♪..♫ I want it all ...♩..♬
LanX ♪..♫ ...and I want it now!!! ♩..♬
[LanX]: damn my headphones were not plugged and the video blasted thru the office ...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-09-20 15:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (237 votes). Check out past polls.

    Notices?