racket / racket/drracket

Problem with diacritics

Open
#478 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
516
Forks
103
PR merge metrics
No merged PRs in 30d

Description

DrRacket can't display diacritics in Thai language (and probably other languages with diacritics) correctly in the code editor.

Screen Shot 2021-04-04 at 11 08 52 PM

Here's how it should be displayed:


(กำหนด ความกว้าง 500)

(กำหนด ความกว้าง 500)

FWIW, Emacs is able to display it correctly.

Screen Shot 2021-04-04 at 11 13 36 PM

@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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the problem in DrRacket's code editor with the Thai sample shown in the issue, and compare it with the expected rendering and the Emacs result. Trace the editor's text-display path to identify where diacritics are mishandled; done means the sample and other affected languages display correctly.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.