[xml] UTF-8 issue



Hi, All
I am a newbie of libxml2, I was confused by UTF-8.
I use notepad to create a UTF-8 file, which included one Chinese Char.
When I use Hexedit to see it that is "e5 88 98", I can use Mozilla(choosing UTF-8) to see it.
But I read this Char from a file and save it into a XML file, this Char becomes &#x5218, I can not use 
Mozilla to display this Chinese Char.
When is the problem?
Thanks a lot.

Best Regards, 
==================================
  Arden Liu 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]