LWN.net Logo

glibc

glibc

Posted Dec 30, 2012 8:33 UTC (Sun) by Cyberax (✭ supporter ✭, #52523)
In reply to: glibc by jrn
Parent article: Distributions for the Nexus 7 (TGDaily and HotHardware)

> I'll bite. What does "normalize a string for a given locale" mean? Are you referring to case folding or something?
For example, convert string to a title case in en_ZA locale while the system locale is es_ES.

> I think the band of idiots you are referring to is called the POSIX standards committee. Though I like their work and don't consider them to be a band of idiots.
Yup. The sheer amount of idiotic decisions in POSIX made it irrelevant long time ago. Almost all real software has to rely on various kinds of extensions.

Oh, by "irrelevant" I mean that POSIX compliance is not even worth the time spent to read POSIX spec.


(Log in to post comments)

glibc

Posted Dec 30, 2012 8:50 UTC (Sun) by Cyberax (✭ supporter ✭, #52523) [Link]

> For example, convert string to a title case in en_ZA locale while the system locale is es_ES.
Or even a better example, convert the string "is this true" to upper case to uppercase in en_US with tr_TR locale. We got hit with this "bug" _several_ time.

The other way around is also hilarious.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds