[fpc-pascal] XML with lazarus UTF8 problem

Henrik Genssen henrik.genssen at mediafactory.de
Mon Jul 6 08:13:56 CEST 2009


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



More information about the fpc-pascal mailing list