Re: [fpc-pascal] FPC 2.0.2 vs 2.0.4 xmlread

2006-10-24 Thread Alexander Todorov
Michael Van Canneyt wrote: XML is not in UTF-8. What do you mean by that? I don't understand. If you delete the line and save in a text file the "file" command says: UTF-8 Unicode text, if opened with web browser (e.g. Firefox) encoding is also shown as UTF-8. Opening the file with mcview in

Re: [fpc-pascal] FPC 2.0.2 vs 2.0.4 xmlread

2006-10-24 Thread Michael Van Canneyt
On Tue, 24 Oct 2006, Michael Van Canneyt wrote: > > > 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

Re: [fpc-pascal] FPC 2.0.2 vs 2.0.4 xmlread

2006-10-24 Thread Michael Van Canneyt
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 C

[fpc-pascal] FPC 2.0.2 vs 2.0.4 xmlread

2006-10-24 Thread Alexander Todorov
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. I an sending an example program includ