[fpc-pascal] FPC 2.0.2 vs 2.0.4 xmlread

Michael Van Canneyt michael at freepascal.org
Tue Oct 24 17:01:33 CEST 2006



On Tue, 24 Oct 2006, Alexander Todorov wrote:

> Hello list,
> I had an old application that worked fine with 2.0.2 but doesn't work
> with 2.0.4.
> The problem is that it reads XML and then uses the data to do some
> processing. Application expects XML to be UTF-8 which is later
> converted to CP1251 in some cases.

XML is not in UTF-8.

The XML unit is now XML 1.1 compliant. It performs conversion by itself,
part of this change was indeed performed during the 2.0.4 release.

My guess is that you simply don't need to do any conversion yourself.

Michael.




More information about the fpc-pascal mailing list