Am Freitag, den 17.04.2009, 16:05 +0200 schrieb Mattias Gaertner: > On Fri, 17 Apr 2009 15:13:37 +0200 > Marc Santhoff <m.santh...@web.de> wrote: > > >[...] > > I have a DOM model read from a xml file that has no encoding named > > inside it. The var TXMLDocument.Encoding is empty after the file is > > loaded. > >[...]> How can make GTK 2 show those chars as in GTK 1? > > convert the xml file to UTF-8 > > OR > > convert the xml file before passing it to the xml reader > > OR > > convert the strings before passing them to the LCL > > See unit lconvencoding GuessEncoding and ConvertEncoding.
I like cookbook-style compressed receipes. :) Many Thanks, -- Marc Santhoff <m.santh...@web.de> _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus