Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/binutils/winduni.c b/binutils/winduni.c
- index 76404ca..6470b69 100644
- --- a/binutils/winduni.c
- +++ b/binutils/winduni.c
- @@ -770,7 +770,7 @@ wind_MultiByteToWideChar (rc_uint_type cp, const char *mb,
- 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)
- {
- @@ -843,7 +843,7 @@ wind_WideCharToMultiByte (rc_uint_type cp, const unichar *u, char *mb, rc_uint_t
- 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)
- {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement