-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Improper handling of Unicode modifying diacritics #12680
Comments
@stefanocoretta Thank you for raising this! I'd like to reproduce the issue in my environment. What do you recommend as the best way to use IPA diacritics? I found a few methods for doing so, but I'd like to try and reproduce exactly the same steps. |
Hi @ronblum :) Can you perhaps just copy paste the following into a text file?
(Note that GH does not render the diacritics in the first character correctly, but copy pasting works correctly) |
From internal discussion: This might require updating the Ace editor. |
@stefanocoretta I tried a few other applications, spec. Notes and the Google Chrome address bar, and the diacritics seem to come out incorrectly, too, although in different ways. Can you check how they work? |
I don't really expect them to work in anything that is not supposed to be an advanced text editor. :) It also depends on whether the typeface used supports those diacritics or not (of course I have been trying typefaces with the correct support when testing the RStudio editor). |
@stefanocoretta What font are you using? When I use |
It's Hasklug Nerd Font Mono, which renders all chars fine in other text editors. :) |
Any success with this? I wonder if I should open an issue in the Ace editor repo, since it seems to be an issue with the editor rather than RStudio. |
System details
Steps to reproduce the problem
Describe the problem in detail
The RStudio editor still does not correctly render combining diacritical marks like IPA diacritics, in that the text cursors is displaced one slot for each diacritic inserted and sometimes diacritics are not rendered correctly under the base character.
I had posted a question on the RStudio community forum a few years ago (I can't find it anymore) reporting the issue. It was said that this would be fixed when RStudio would switch to be built in Electron. I have not seen signs of this happening any time soon, or if it did, it did not fix the issue.
Describe the behavior you expected
The text was updated successfully, but these errors were encountered: