Hi,
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.
WHen compiling the program for GTK 1 the german umlauts are shown correctly, I assume GTK 1 defaults to system encoding (or so ;). The files have been written in a GUI using the same system encoding (ISO-8859-1).
When compiled for GTK 2 the umlauts are not shown corrctly and on the console messages like this appear when handing over strings to gtk widgets:
Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_t ext()
When the texts are not used as caption but as text inside a memo, the warning differs:
Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_val idate (text, len, NULL)' failed
and the strings in question are left out up to the next newline.
The encoding inside the file l?ooks like this:
Stichwörter:
for the Letter "?".
How can make GTK 2 show those chars as in GTK 1?
Regards,
