Skip to content

bootstrap: Support nonstandard locales#2158

Merged
zmc merged 1 commit intomainfrom
utf8-fix
Mar 18, 2026
Merged

bootstrap: Support nonstandard locales#2158
zmc merged 1 commit intomainfrom
utf8-fix

Conversation

@zmc
Copy link
Copy Markdown
Member

@zmc zmc commented Mar 17, 2026

Some newer systems use e.g. LANG=C.utf8, which is breaking bootstrap since it expects to see e.g. C.utf-8. Instead of trying to parse the values, simply split on '.' and append 'utf-8'.

Some newer systems use e.g. LANG=C.utf8, which is breaking bootstrap since it expects to see e.g. C.utf-8. Instead of trying to parse the values, simply split on '.' and append 'utf-8'.

Signed-off-by: Zack Cerza <zack@cerza.org>
@zmc zmc requested a review from deepssin March 17, 2026 20:34
@deepssin
Copy link
Copy Markdown
Contributor

@zmc zmc merged commit c5deb79 into main Mar 18, 2026
9 checks passed
@zmc zmc deleted the utf8-fix branch March 18, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants