Bug 554790 - g_convert() misbehaves with winiconv versions

2008-10-08  Tor Lillqvist  <tml@novell.com>

	Bug 554790 - g_convert() misbehaves with winiconv versions

	* glib/win_iconv.c (kernel_mbtowc): If converting from ASCII,
	explicitly check for and reject 8bit chars. MultiByteToWideChar()
	doesn't, at least not on XP.


svn path=/trunk/; revision=7578
This commit is contained in:
Tor Lillqvist
2008-10-08 20:35:39 +00:00
committed by Tor Lillqvist
parent 57d48592db
commit c7501c8223
2 changed files with 14 additions and 0 deletions

View File

@@ -1,3 +1,11 @@
2008-10-08 Tor Lillqvist <tml@novell.com>
Bug 554790 - g_convert() misbehaves with winiconv versions
* glib/win_iconv.c (kernel_mbtowc): If converting from ASCII,
explicitly check for and reject 8bit chars. MultiByteToWideChar()
doesn't, at least not on XP.
2008-10-06 Matthias Clasen <mclasen@redhat.com>
* glib/gtypes.h: Properly include gmacros.h