Tor Lillqvist 7bdb3fc265 Bug 523298 - win_iconv can't convert from UTF-8 to GB18030 (or vice versa)
2008-03-19  Tor Lillqvist  <tml@novell.com>

	Bug 523298 - win_iconv can't convert from UTF-8 to GB18030 (or vice versa)

	* glib/win_iconv.c: Fixes for code page 54936 (GB18030)
	(mbtowc_flags): New function. Check if a code page is one of those
	for which the dwFlags parameter to MultiByteToWideChar() must be
	zero. Return 0 or MB_ERR_INVALID_CHARS.
	(mbcs_mblen): New function for multi-byte (more than two bytes for
	some characters) code pages. Only handles 54936 for now.
	(make_csconv): Use it for 54936.
	(kernel_mbtowc): Use mbtowc_flags().


svn path=/branches/glib-2-16/; revision=6742
2008-03-20 02:44:14 +00:00
..
2008-03-11 01:51:07 +00:00
2008-02-23 05:06:18 +00:00
2006-09-10 05:50:50 +00:00
2006-04-05 03:19:30 +00:00
2003-09-07 22:36:58 +00:00
2007-11-25 06:05:06 +00:00
2006-10-09 04:23:58 +00:00
2007-12-11 01:48:23 +00:00
2008-03-05 01:56:24 +00:00
2007-11-28 14:35:14 +00:00
2008-03-01 16:27:50 +00:00
2008-01-27 23:42:33 +00:00
2007-08-20 23:34:35 +00:00
2007-11-29 02:58:24 +00:00
2007-08-22 19:31:27 +00:00
2005-08-31 14:25:45 +00:00
2006-10-09 04:23:58 +00:00
2006-09-30 14:06:45 +00:00
2008-01-01 04:13:26 +00:00
2008-03-10 16:50:13 +00:00
2008-02-24 21:15:47 +00:00
2008-01-06 23:12:24 +00:00
2007-08-20 23:34:35 +00:00
2007-11-27 14:57:45 +00:00
2006-03-23 02:54:29 +00:00
2007-07-20 16:38:50 +00:00
2008-02-24 21:15:47 +00:00
2008-02-25 19:32:42 +00:00
2008-02-03 22:41:06 +00:00