Re: File name encoding and GTK ABI compatibility on Win32



 > Shouldn't g_locale_from_utf8 return utf8 because utf8 is now the file 
 > system encoding on win32?

No, but g_filename_{to,from}_utf8() now reduce to the equivalent of
strndup() on Win32.

 > Also, how should code be written so that it will work if compiled
 > under the older version or 2.6?

Sorry, not possible without ifdefs.

--tml





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]