Bug 524314 - g_convert() on Win32 implicitly converts full width
authorTor Lillqvist <tml@novell.com>
Wed, 2 Apr 2008 02:43:45 +0000 (02:43 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 2 Apr 2008 02:43:45 +0000 (02:43 +0000)
commita6bdf9a1af6eaaaefa9342ce54bac6200199ff02
tree3f81b71fd15a0c78606993cf477361a13d978aad
parent30dd18b3357b395b5813a150dc3817193bbbb8ba
Bug 524314 - g_convert() on Win32 implicitly converts full width

2008-04-02  Tor Lillqvist  <tml@novell.com>

Bug 524314 - g_convert() on Win32 implicitly converts full width
alphanumerics into half width

* glib/win_iconv.c: Update from Yukihiro Nakadaira. Use
WC_NO_BEST_FIT_CHARS flag for WideCharToMultiByte() unless the
//translit flag was suffixed to the codeset name.

* glib/gconvert.c: Include win_iconv.c earlier so that its
definition of WINVER before it includes <windows.h> is used.

svn path=/trunk/; revision=6808
ChangeLog
glib/gconvert.c
glib/win_iconv.c