Implement #491549: On Windows, always use the native API for character set
authorTor Lillqvist <tml@novell.com>
Sun, 25 Nov 2007 23:27:45 +0000 (23:27 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sun, 25 Nov 2007 23:27:45 +0000 (23:27 +0000)
commit04aec5b28d7c0282062975d321e5b361263aba3e
treea162492f3ac52b7f3f4f2708bdbd298db7e97bad
parent6fdcc7ddb2be5a978482fe8e919064fc85745d0a
Implement #491549: On Windows, always use the native API for character set

2007-11-26  Tor Lillqvist  <tml@novell.com>

Implement #491549: On Windows, always use the native API for
character set conversions instead of GNU libiconv. Almost all
codesets supported by GNU libiconv exist as Windows codepages.
One missing feature is the "C99" and "JAVA" pseudo codesets, but I
doubt that is worth worrying about.

* glib/win_iconv.c: New file. iconv() implementation for
Windows. Placed in the public domain by Yukihiro Nakadaira
<yukihiro.nakadaira@gmail.com>. From
http://yukihiro.nakadaira.googlepages.com/win_iconv.zip, his
2007-11-17 version.

* glib/gconvert.c: Include win_iconv.c on Windows.

* configure.in: Bypass iconv checks on Windows.

svn path=/trunk/; revision=5937
ChangeLog
configure.in
glib/gconvert.c
glib/win_iconv.c [new file with mode: 0644]