Re: File name encoding and GTK ABI compatibility on Win32



John Ehresman writes:
 > 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?

Yes, like before. 

 > Would it be possible to set the G_FILENAME_ENCODING environment
 > variable to 'utf8' as well?

Umm, for what purpose? The point of these changes is to make the GLib
file name encoding fixed at UTF-8 on Windows, so that it can represent
all possible file names, as the names as stored in the actual file
system are in full Unicode, too (UTF-16).

--tml





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