(2011/04/20 22:08), Tom Lane wrote:
> Hiroshi Inoue<inoue@tpf.co.jp> writes:
>> In my environment (Windows Vista using VC8)
>
>> setlocale(LC_XXXX, "Chinese (Traditional)_MCO.950");
>> works and
>> setlocale(LC_XXXX, NULL);
>> returns
>> Chinese (Traditional)_Macao S.A.R..950
>> but
>> setlocale(LC_XXXX, "Chinese (Traditional)_Macao S.A.R..950");
>> fails.
>
> Interesting. This example suggests that maybe Windows' setlocale can
> only cope with dot as introducing a codepage number.
ACP or OCP as well as codepage number seem to be allowed.
> Are there any
> cases where a dot works as part of the basic locale name?
Unfortunately I don't know any explanation how dots are allowed.
regards,
Hiroshi Inoue