2008-03-12 Tor Lillqvist <tml@novell.com>
Bug 520914 - win_iconv doesn't support UCS-2
* glib/win_iconv.c: Make UCS-2 just an alias for
UTF-16. Technically this is wrong of course, but shouldn't matter
an awful lot in practice.
svn path=/trunk/; revision=6686
+2008-03-12 Tor Lillqvist <tml@novell.com>
+
+ Bug 520914 - win_iconv doesn't support UCS-2
+
+ * glib/win_iconv.c: Make UCS-2 just an alias for
+ UTF-16. Technically this is wrong of course, but shouldn't matter
+ an awful lot in practice.
+
2008-03-11 Murray Cumming <murrayc@murrayc.com>
Bug 521591 – g_markup_parse_context_parse() creates GError message that
{1200, "CP1200"},\r
{1200, "UTF16LE"},\r
{1200, "UTF-16LE"},\r
+ {1200, "UCS-2LE"},\r
\r
{1201, "CP1201"},\r
{1201, "UTF16BE"},\r
{1201, "UTF-16BE"},\r
+ {1201, "UCS-2BE"},\r
{1201, "unicodeFFFE"},\r
\r
{12000, "CP12000"},\r
/* Default is little endian, because the platform is */\r
{1200, "UTF16"},\r
{1200, "UTF-16"},\r
+ {1200, "UCS-2"},\r
{12000, "UTF32"},\r
{12000, "UTF-32"},\r
#endif\r
{\r
cv.mbtowc = utf16_mbtowc;\r
cv.wctomb = utf16_wctomb;\r
- if (_stricmp(name, "UTF-16") == 0 || _stricmp(name, "UTF16") == 0)\r
+ if (_stricmp(name, "UTF-16") == 0 ||\r
+ _stricmp(name, "UTF16") == 0 ||\r
+ _stricmp(name, "UCS-2") == 0)\r
cv.flags |= UNICODE_FLAG_USE_BOM_ENDIAN;\r
}\r
else if (cv.codepage == 12000 || cv.codepage == 12001)\r