4 ms·
My first thought was, what about the "C" locale so good to see that question already answered. I really wish there was some sort of standard "U" locale that wo
by opk 11y ago
My first thought was, what about the "C" locale so good to see that question already answered.
I really wish there was some sort of standard "U" locale that would be the same as "C" but UTF-8, and ISO rather than US format dates.
- kazinator 11y agoThat locale pseudo-exists. It's called "don't call the evil setlocale function, write in C90 as much as possible, do your own UTF-8 encoding and decoding, and implement the exact default date format you want with your own strftime string or whatever."
- Dylan16807 11y agoThat doesn't exactly help me as a user, and possibly makes things worse as some things respect locale and some don't.
- caf 11y agoThere has been some talk both in glibc and musl of shipping such a "C-but-UTF-8" locale.