Package: glib

Function g-filename-to-utf8

Lambda List

g-filename-to-utf8 (opsysstring)


opsysstring -- a string in the encoding for filenames

Return Value

The converted string, or nil on an error.


Converts a string which is in the encoding used by GLib for filenames into a UTF-8 string. Note that on Windows GLib uses UTF-8 for filenames; on other platforms, this function indirectly depends on the current locale.

See also