On Sat, 10 Nov 2007, Mattias Gaertner wrote:
> On Sat, 10 Nov 2007 15:25:05 +0100 (CET) > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > > > On Sat, 10 Nov 2007, Valdas Jankūnas wrote: > > > > > I realize if i want unicode support i must use units "Laz_DOM", > > > "Laz_XMLRead", "Laz_XMLWrite" instead of FP "DOM", "XMLRead", > > > XMLWrite". > > > > This is not correct. DOM/XMLRead/XMLWrite are written 100% with > > WideStrings. > > > > However: Linux does not support widestrings out-of-the-box. > > To enable widestring support for DOM/XMLRead/XMLWrite on linux, > > you must insert cwstring in the uses clause of your program. > > That's it. The DOM units will pick this up. > > The source code is UTF-8. Are you sure, that cwstrings works under > linux with an ISO charset as default? And what about windows, if the > codepage is 1251 (or whatever non UTF-8)? This, I don't know. cwstrings is for Linux only. As far as ISO is concerned, I assume that the reader code takes care of correct conversion ? Michael.