Hallo, I changed from GTK 2.2.x to 2.6.x. Now my program does not convert selected files after file selection. Here my code which did what I want with GTK 2.2.x:
iso_string = (gchar *) gtk_file_selection_get_filename(filesel ); utf_string = g_convert (iso_string, -1, "UTF-8", "ISO-8859-1", NULL, NULL, NULL); Put utf_string into a textview (This is not ok for example with german charakters like oe (= ö)). Then convert for opening a file: iso_string = g_convert (utf_string , -1, "ISO-8859-1", "UTF-8", NULL, NULL, NULL); /* Open file with iso_string */ file = fopen (iso_string, "rb"); file == Null if a german special charakter is involved! What is to do to make it compatible to GTK 2.6.x? Regards Christian Schneider ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list