Use GetACP to get the current ANSI codepage.
authorTor Lillqvist <tml@iki.fi>
Sun, 17 Dec 2000 18:43:57 +0000 (18:43 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sun, 17 Dec 2000 18:43:57 +0000 (18:43 +0000)
commit4f9e04c1d78ffe95f60101bea8381c6be5575069
tree799fc8066bdf0d87845d6e685a32d171aa104111
parenta5f18bb9ba34642333e784e739c042e6a3edc09f
Use GetACP to get the current ANSI codepage.

2000-12-17  Tor Lillqvist  <tml@iki.fi>

* gutf8.c (g_utf8_get_charset_internal): (Win32) Use GetACP to get
the current ANSI codepage.

* gunicode.h: Add comment that the static string g_get_charset
sets the parameter to point to should be copied in case the
charset might be changed later in the program.
13 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
glib/gunicode.h
glib/gutf8.c
gobject/gobject.def
gunicode.h
gutf8.c