As I said, the file is valid XML.
It parses well in:
- Firefox
- IE
- libxml
- msxml
regards
Hinnack
>reply to message:
>date: 06.07.2009 13:17:05
>from: "JoshyFun"
>to: "FPC-Pascal users discussions"
>subject: Re: [fpc-pascal] XML with lazarus UTF8 problem
>
>Hello FPC-Pascal,
>
>Monday, Jul
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 applicatio
using UTF8Encode / UTF8Decode does not make any change
I used that already - even leaving it out does not work.
regards
Hinnack
>reply to message:
>date: 06.07.2009 12:42:46
>from: "Valdas Jankunas"
>to: "FPC-Pascal users discussions"
>subject: Re: [fpc-pascal] XML with lazarus UTF8 problem
>
Moin Hinnack,
Am Montag, den 06.07.2009, 11:28 +0200 schrieb Henrik Genssen:
> using UTF8Encode / UTF8Decode does not make any change
> I used that already - even leaving it out does not work.
I have used that routines for using XML files encoded similarly to
yours.
After reading the file to a D
. This is my
mistake. It works now!
But I do not understand that. Can someone explain?
regards
Hinnack
>reply to message:
>date: 06.07.2009 14:14:31
>from: "Marc Santhoff"
>to: "FPC-Pascal users discussions"
>subject: RE: Re: [fpc-pascal] XML with lazarus
Am Montag, den 06.07.2009, 12:12 +0200 schrieb Henrik Genssen:
> Moin, Moin,
>
> sounds interesting. Where do I get cwstring?
It comes with fpc, you only need to activate it.
> on this thread someone pointed out, that one needs it only on linux - do I
> need it on darwin, too?
> http://lists.fr