Re: File name encoding and GTK ABI compatibility on Win32
- From: John Ehresman <jpe wingide com>
- To: Tor Lillqvist <tml iki fi>
- Cc: gtk-devel-list gnome org
- Subject: Re: File name encoding and GTK ABI compatibility on Win32
- Date: Sun, 05 Dec 2004 19:29:12 -0500
Tor Lillqvist wrote:
> 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.
Does this mean that code converting from utf8 to GLib's filesystem
encoding needs to use g_filename_{to,from}_utf8 to work on both win32
and *nix? Would it be possible to set the G_FILENAME_ENCODING
environment variable to 'utf8' as well?
Thanks,
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]