-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong maccyrillic decoding #297
Comments
Hmm I see the letter |
Also |
The problem is that the decoding is going wrong. If you write a maccyrillic decoding test, instead of the letter |
Note that iconv-lite here uses generated data from the low-level |
Wait, what do you expect the code for this letter be - 0xFF or 0xDF? |
The code for this letter should be 0xDF, but when decoding it translates as 0xFF. I don't know how to prove that this is true, except that I enter the letter |
As a test, you can write a test for this encoding, as well as other Cyrillic encodings. |
Well, if you can debug print the Buffer that is sent to the decode() method, we can check which byte corresponds to |
|
Just checked it and looks correct:
|
Where are you getting the wrong results? |
In this encoding after the character
ю
there is a symbol¤
. Because of this, in places where there should have been the letter "я" is decoded symbol "€" (last symbol).The text was updated successfully, but these errors were encountered: