On Tue, Aug 10, 2010 at 04:29:12PM +0400, Иван Лох wrote:
> 
> There is a group of functions which wrap the common POSIX functions
> dealing with filenames (g_open(), g_rename(), g_mkdir(), g_stat(),
> g_unlink(), g_remove(), g_fopen(), g_freopen()). The point of these
> wrappers is to make it possible to handle file names with any Unicode
> characters in them on Windows without having to use ifdefs and the wide
> character API in the application code.

The pathname argument should be in the GLib file name encoding. On POSIX
this is the actual on-disk encoding which might correspond to the locale 
settings of the process (or the G_FILENAME_ENCODING environment variable), or 
not. 

http://library.gnome.org/devel/glib/2.18/glib-File-Utilities.html


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Ответить