Invalid unicode rendering
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 68
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
The following code:
#lang racket/gui
(displayln (string-append "א" "\taleph"))
(define fr (new frame% [label "list"]))
(new list-box%
[parent fr]
[label ""]
[choices '("ℵ\taleph"
"א\taleph"
"ε\tepsilon")])
(send fr show #t)
produces:

Observe that the א (U+05D0, right to left) line is reversed compared to what is specified. This may be a potential threat, based on this article.
The first aleph (U+2135, left to right) is also fine
Several other right-to-left symbols behave similarly.
The issue does not appear in DrRacket itself, only in the gui element (I did not try with other gui elements).
cc @samth @rfindler
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report provides a minimal #lang racket/gui reproduction using list-box% and contrasts the result with DrRacket. Run that example first, then trace the list-box% GUI path; done means right-to-left entries display in the specified order while the shown left-to-right entries remain correct.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100