Skip to content

Add utf8.upper / utf8.lower from UnicodeData.txt (alternative to the PR #2164) - #2468

Open
Ethjuro wants to merge 1 commit into
Facepunch:masterfrom
Ethjuro:utf8-support-low/upper
Open

Add utf8.upper / utf8.lower from UnicodeData.txt (alternative to the PR #2164)#2468
Ethjuro wants to merge 1 commit into
Facepunch:masterfrom
Ethjuro:utf8-support-low/upper

Conversation

@Ethjuro

@Ethjuro Ethjuro commented May 18, 2026

Copy link
Copy Markdown

Hi! Adds utf8.upper and utf8.lower so non-ascii characters can be cased correctly in the utf8 libraries.

Alternative to PR #2164 , but the upper/lower tables are generated independently from UnicodeData.txt columns 12 and 13, rather than inverting one into the other. That sidesteps the ambiguous reverse-mapping issue CornerPin raised on PR #2164 (Σ -> σ vs ς, S -> s vs ſ, etc.), since each direction uses its canonical simple mapping straight from Unicode.

Simple case mappings only (UnicodeData.txt 17.0.0).

@robotboy655 robotboy655 added the Enhancement The pull request enhances current functionality. label May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement The pull request enhances current functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants