2 Sep
2003
2 Sep
'03
9:49 a.m.
[Tim]
if a C implementation does choose to support them, then the spellings for input are standardized, although a locale is allowed to *produce* any spellings whatsoever).
[martin@v.loewis.de]
Where exactly does it (C99) say that the spellings are locale-specific?
I can't find anything in the std supporting the claim. For that matter, I can't find anything in the std supporting the notion that a locale is allowed to insert thousand-separator characters either (can you?). There's lots of stuff allowing a locale to *accept* locale-specific spellings (when parsing strings), in addition to the "C" locale spellings; the other direction (producing strings) appears much less permissive.