Ticket #38304: patch-binutils-winduni.c.diff
File patch-binutils-winduni.c.diff, 670 bytes (added by tuffnatty (Phil Krylov), 12 years ago) |
---|
-
binutils/winduni.c
old new 85 85 { 1258, "WINDOWS-1258" }, 86 86 { CP_UTF7, "UTF-7" }, 87 87 { CP_UTF8, "UTF-8" }, 88 { CP_UTF16, "UTF-16 " },88 { CP_UTF16, "UTF-16LE" }, 89 89 { (rc_uint_type) -1, NULL } 90 90 }; 91 91 … … 682 682 683 683 if (!mb || !iconv_name) 684 684 return 0; 685 iconv_t cd = iconv_open ("UTF-16 ", iconv_name);685 iconv_t cd = iconv_open ("UTF-16LE", iconv_name); 686 686 687 687 while (1) 688 688 { … … 755 755 756 756 if (!u || !iconv_name) 757 757 return 0; 758 iconv_t cd = iconv_open (iconv_name, "UTF-16 ");758 iconv_t cd = iconv_open (iconv_name, "UTF-16LE"); 759 759 760 760 while (1) 761 761 {