Henrik Genssen rašė:
Hi,

I am using DOM and XMLRead units for parsing XML files.
The XML file is UTF-8. The text-nodes in the file contain german umlaute.
The file is valid XML!

When it try to get the textnodes containing german umlaute, I get an empty 
string, although
the length of the string seems to be correct.

I uses Lazarus from trunk this morning, FPC 2.2.4.
I even tried fcl-xml from FPC svn trunk with no changes...

-- Hinnack

 Maybe this helps you:

http://news.gmane.org/find-root.php?message_id=%3c4734B336.1080806%40erdves.lt%3e

I solved this problem by using UTF8Decode/UTF8Encode routines to convert between UTF8 <-> Widestring.

--
  Valdas Jankūnas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to