-
Notifications
You must be signed in to change notification settings - Fork 19
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
Malformed UTF-8 characters when no default character is set - fails to "fall through" #14
Comments
Thanks for the heads up @eribertomota. I'm looking in to this. |
Thanks! Can you release a new version? Debian will release version 11 soon and I have few days to send new uploads. |
Took me forever to remember how to do it all, but, yeah, I'm tagging v1.3.1 now. Interestingly enough, the bug showed up in my extremely simple tests. The tests literally just run a dry-run against a bunch of files and then diffs the output between versions. The "" and "" in the filenames below, generated by v1.3.0, is the bug. The terminal doesn't render them, but they show up inside of less.
|
Hey Eriberto, v1.3.1 is tagged and ready for review. Let me know if you encounter any problems. Doug |
Em sáb., 30 de jan. de 2021 às 19:50, Doug Harple <notifications@github.com>
escreveu:
Hey Eriberto,
v1.3.1 is tagged and ready for review. Let me know if you encounter any
problems.
Doug
I am a bit confused. The detox builds fine but I can't see a difference
between results created by 1.3.0 and 1.3.1. Both versions generated
'm'$'\207'' '$'\204''.txt' for me. Can you clarify? Sorry for the confusion.
Thanks in advance.
|
Eriberto, You're absolutely correct. There were at least two off-by-one errors in the UTF-8 translation. It is working correctly for me now, using the test file "mÉ Æ.txt". If I have no translation for Unicode values 0x00c9 or 0x00c6, nothing happens to them. So, using the test table and detoxrc from the original Debian bug, I get:
|
Working fine now! Uploaded to Debian. Thank you very much. |
From Debian bug 861537[1].
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861537
Seems that there is a patch in a Detox fork[2].
[2] https://github.com/mikrosimage/detox/tree/1.3.0.mikros
Cheers,
Eriberto
The text was updated successfully, but these errors were encountered: