Re: File name encoding and GTK ABI compatibility on Win32
- From: Tor Lillqvist <tml iki fi>
- To: John Ehresman <jpe wingide com>
- Cc: gtk-devel-list gnome org
- Subject: Re: File name encoding and GTK ABI compatibility on Win32
- Date: Mon, 6 Dec 2004 00:24:53 +0000
> 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]