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