Skip to content

uucore: detect character encodings for bare locale names - #15199

Open
darkraider01 wants to merge 2 commits into
uutils:mainfrom
darkraider01:ctype-bare-locales
Open

darkraider01 wants to merge 2 commits into
uutils:mainfrom
darkraider01:ctype-bare-locales

Conversation

@darkraider01

Copy link
Copy Markdown
Contributor

get_ctype_encoding() assumes locale names include an encoding suffix, so installed names such as en_IN are reported as ASCII. Resolve bare names using native locale data, share the environment lookup, and query nl_langinfo_l without switching the thread locale.

Split from #15139 as requested in review. Related to #14928.

This branch has not been deployed

No deployments
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.

1 participant