-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Problem with diacritics #478
Comments
I am guessing this is an issue with either Here's some code that might reproduce the issue outside of DrRacket (if it isn't a font-specific issue).
|
Sorry, should have mentioned that I'm on Mac. The program that you provided above does reproduce the issue, though weirdly, "กำ" is now displayed correctly! "กว้าง" is still incorrect however. This is not a font specific issue IIUC. Even with the font TH Sarabun New (the standard font for Thai script), the issue persists in DrRacket. Here's how it displays in word processor softwares. |
I think the problem is more generally with unicode combining characters:
|
Related? racket/draw#22 |
In the latest version of DrRacket, things are a bit flipped. Running @rfindler's program, we will get: where It's somewhat weird, because this display problem only occurs when I choose not to "normalize" when pasting the code in. If I normalized, I do get the desired display, but now |
I want to try this again after the recent unicode change, and just noticed a couple more issues (which already exist even before the unicode change) Steps to reproduce: |
The problem with |
DrRacket can't display diacritics in Thai language (and probably other languages with diacritics) correctly in the code editor.
Here's how it should be displayed:
(กำหนด ความกว้าง 500)
FWIW, Emacs is able to display it correctly.
@mbutterick's quad used to have an issue with diacritics too (though it's a different problem), so let me @ you in case you have an idea what could go wrong.
The text was updated successfully, but these errors were encountered: