-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fix wrong conversion of unicode chars #7419
Fix wrong conversion of unicode chars #7419
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot! Can you please also add a test that verifies that everything is working now.
@@ -760,7 +760,8 @@ | |||
{"64259", "", "ffi"}, // ffi ligature (which LaTeX solves by itself) | |||
{"64260", "", "ffl"}, // ffl ligature (which LaTeX solves by itself) | |||
{"119978", "Oscr", "$\\mathcal{O}$"}, // script capital O -- possibly use \mathscr | |||
{"119984", "Uscr", "$\\mathcal{U}$"} // script capital U -- possibly use \mathscr | |||
{"119984", "Uscr", "$\\mathcal{U}$"}, // script capital U -- possibly use \mathscr | |||
{"120598", "", "$\\epsilon}$"} // mathematical italic epsilon U+1D716 -- requires amsmath |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the closing }
is too much here.
Thanks for analyzing the issue and your fix! LGTM! |
Fixes #7387
Fixed the wrong conversion of unicode characters with a codepoint higher than the max value of the primitive type char in the unicode to latex formatter.