Line 0
Link Here
|
|
|
1 |
--- binutils/winduni.c.orig Fri Jun 8 01:15:17 2012 |
2 |
+++ binutils/winduni.c Fri Jun 8 01:17:33 2012 |
3 |
@@ -85,7 +85,7 @@ |
4 |
{ 1258, "WINDOWS-1258" }, |
5 |
{ CP_UTF7, "UTF-7" }, |
6 |
{ CP_UTF8, "UTF-8" }, |
7 |
- { CP_UTF16, "UTF-16" }, |
8 |
+ { CP_UTF16, "UTF-16LE" }, |
9 |
{ (rc_uint_type) -1, NULL } |
10 |
}; |
11 |
|
12 |
@@ -682,7 +682,7 @@ |
13 |
|
14 |
if (!mb || !iconv_name) |
15 |
return 0; |
16 |
- iconv_t cd = iconv_open ("UTF-16", iconv_name); |
17 |
+ iconv_t cd = iconv_open ("UTF-16LE", iconv_name); |
18 |
|
19 |
while (1) |
20 |
{ |
21 |
@@ -755,7 +755,7 @@ |
22 |
|
23 |
if (!u || !iconv_name) |
24 |
return 0; |
25 |
- iconv_t cd = iconv_open (iconv_name, "UTF-16"); |
26 |
+ iconv_t cd = iconv_open (iconv_name, "UTF-16LE"); |
27 |
|
28 |
while (1) |
29 |
{ |