Character set conversions

Daniel Gibson metalcaedes at gmail.com
Tue May 31 04:13:58 PDT 2011


Am 31.05.2011 13:12, schrieb Kagamin:
> Daniel Gibson Wrote:
> 
>>> according to N1425
>>> 7.11.1.1
>>> 4. At program startup, the equivalent of
>>> setlocale(LC_ALL, "C");
>>> is executed.
>>>
>>> Fun fact is MS conforms with this specification.
>>
>> So they break it deliberately in Excel? Smart.
> 
> Excel deliberately localizes data presented to the user. Wouldn't it be strange for user to work with C locale (Excel users aren't programmers)? It even translates builtin function names :)

I'm not talking about representing the values on the screen - I'm
talking about the format of CSV files.
And I find translated function names pretty strange.. I'm wondering how
well that works when opening a file with another locale etc.

> As this presentation is quite customizable, I doubt it's done by c runtime. I think it just gets string values from cells during CSV generation.



More information about the Digitalmars-d mailing list