[fpc-pascal] XML with lazarus UTF8 problem
Michael Van Canneyt
michael at freepascal.org
Mon Jul 6 14:02:23 CEST 2009
On Mon, 6 Jul 2009, Henrik Genssen wrote:
> As I said, the file is valid XML.
No-one disputes this, the question is how the codepage is used in the rest
of your program. You may need to do a manual transformation e.g. to
widestrings in order to be able to use the XML objects in your application.
Michael.
>>
>> I do not work with XML DOM but if the file is UTF-8 and the text node
>> contains an ANSI german umlaute the XML is not valid as the text is
>> not UTF-8 conformant.
>>
>> fpc UTF-8 decoder clear any UTF-8 string with wrong encode (I think
>> trunk one replace wrong encodes with '?' mark).
>>
>> --
>> Best regards,
>> JoshyFun
>>
>> _______________________________________________
>> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
More information about the fpc-pascal
mailing list