Ant: Re: How to convert file names from

2005-08-21 Thread Christian Schneider
Hallo, thanks for your hint. But I tried to find a solution for the problem. The string with the german charkter will be changed after gtk_file_chooser_get_filename(...)! AT the place of a german charakter another charakter (value = -61) is appended. After this charakter the value for the german

Re: How to convert file names from

2005-07-20 Thread Colossus
Hubert Sokołowski wrote: it is better to use GIOChannel for operations on files. I have experienced strange problems on win32 when using fopen and the family. I use GIOChannel in my forthcoming GTK2 only frontend to command line archive tools but is really a mess when an archive contains stre

Re: How to convert file names from

2005-07-20 Thread Hubert Sokołowski
On Wed, 20 Jul 2005 13:22:52 +0200 (CEST) Christian Schneider <[EMAIL PROTECTED]> wrote: > /* Open file with iso_string */ > file = fopen (iso_string, "rb"); > > file == Null if a german special charakter is > involved! it is better to use GIOChannel for operations on files. I have experienced st

Re: How to convert file names from

2005-07-20 Thread The Saltydog
On 7/20/05, Christian Schneider <[EMAIL PROTECTED]> wrote: > file == Null if a german special charakter is > involved! > You should use g_filename_to_utf8() or g_locale_to_utf8() before displaying the string in a gtkwidget.. ___ gtk-app-devel-list mail

How to convert file names from

2005-07-20 Thread Christian Schneider
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,