glib.h New functions for conversion between UTF-8 and the encoding
authorTor Lillqvist <tml@iki.fi>
Wed, 2 Feb 2000 23:39:32 +0000 (23:39 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 2 Feb 2000 23:39:32 +0000 (23:39 +0000)
commitc22cf34e923b81962da554c8edeb9366f044ae8c
tree3198ab0b76436d25848c1720be73d0214d16b799
parent86b2741c1e272d35ecba107ddf9d5b873773ad57
glib.h New functions for conversion between UTF-8 and the encoding

2000-02-01  Tor Lillqvist  <tml@iki.fi>

* glib.h
* gstrfuncs.c (g_filename_to_utf8, g_filename_from_utf8): New
functions for conversion between UTF-8 and the encoding expected
by C runtime functions like open() and stat(), and returned by
readdir().

Implement them on Win32 where we use the system "ANSI" codepage,
which might be single-byte or double-byte. On Unix, just skip the
issue for now and provide dummy implementations that return a copy
of the argument.

* README.win32
* build-dll
* glib.def: Minor updates.
16 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
README.win32
build-dll
glib.def
glib.h
glib/glib.def
glib/glib.h
glib/gstrfuncs.c
gstrfuncs.c