You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In version 2.11, the line 771 decides whether or not a string is ascii
encoded or not. As it seems this is not working reliably, for only UTF16LE
strings are "decoded" to the requested defaultEncoding.
My workaround/hack for now is to replace line 771 with this:
$retstr = ($asciiEncoding) ? iconv('cp1250', $this->_defaultEncoding,
$retstr) : $this->_encodeUTF16($retstr);
I'm not fully convinced using an hardcoded encoding of cp1250 is a good
idea but it seems to work in my testcase.
Original issue reported on code.google.com by [email protected] on 4 Feb 2009 at 10:24
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 4 Feb 2009 at 10:24The text was updated successfully, but these errors were encountered: