Summary: | sys-libs/glibc: locale-gen: revisit special treatment of C.UTF-8 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | gentoo, kfm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sam James
2022-09-03 04:59:46 UTC
There's two things here. (In reply to Sam James from comment #0) > C.UTF-8 is in glibc as of 2.35 so we didn't need to patch it in anymore > (which plenty of other distros did too). And we dropped our patch. > [08:06:43] <tirnanog> hmm. it gets weirder. gentoo has a novel locale-gen > which always includes "C.UTF-8 UTF-8" in the course of generating an > archive. arch doesn't. basically: if you put "C.UTF-8 UTF-8" in locale.gen, > either of C.UTF-8 or C.utf8 are accepted as valid locale names. if you > don't, only C.UTF-8 is (in glibc 2.35+, that is, whether it be visible in > the locale archive or not). [...] > [08:15:04] <tirnanog> I think gentoo used to patch support for C.UTF-8 in > prior to 2.35. I suppose shoehorning it in via the locale-gen script is now > an anachronism. > [08:15:16] <tirnanog> still, it all seems pretty messy on the glibc side. We still need this because too many things break if *no* UTF-8 locale is available. Think python. [And someone would remove it for sure. "Mah don't need no stinkin unicode."] The bug was for the utf8 vs UTF-8 issue. (In reply to Sam James from comment #2) > The bug was for the utf8 vs UTF-8 issue. Then I dont understand what the problem is; for some reason we are just more permissive? |