mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-26 21:00:28 +00:00
60af452dba
svn path=/trunk/RosBE/; revision=1352
31 lines
758 B
Diff
31 lines
758 B
Diff
diff -Nru binutils/binutils/winduni.c binutils2/binutils/winduni.c
|
|
--- a/binutils/winduni.c 2009-09-02 09:22:32.000000000 +0200
|
|
+++ b/binutils/winduni.c 2012-01-14 18:05:29.000000000 +0100
|
|
@@ -85,7 +85,7 @@
|
|
{ 1258, "WINDOWS-1258" },
|
|
{ CP_UTF7, "UTF-7" },
|
|
{ CP_UTF8, "UTF-8" },
|
|
- { CP_UTF16, "UTF-16" },
|
|
+ { CP_UTF16, "UTF-16LE" },
|
|
{ (rc_uint_type) -1, NULL }
|
|
};
|
|
|
|
@@ -682,7 +682,7 @@
|
|
|
|
if (!mb || !iconv_name)
|
|
return 0;
|
|
- iconv_t cd = iconv_open ("UTF-16", iconv_name);
|
|
+ iconv_t cd = iconv_open ("UTF-16LE", iconv_name);
|
|
|
|
while (1)
|
|
{
|
|
@@ -755,7 +755,7 @@
|
|
|
|
if (!u || !iconv_name)
|
|
return 0;
|
|
- iconv_t cd = iconv_open (iconv_name, "UTF-16");
|
|
+ iconv_t cd = iconv_open (iconv_name, "UTF-16LE");
|
|
|
|
while (1)
|
|
{
|