Tomas Vondra <tv@fuzzy.cz> writes:
> But clearly, something changed between RH 6.5 and 6.6, because on 6.5 I
> get this:
> $ LANG=cs_CZ.WIN-1250 locale LC_NUMERIC
> ,
> �
> 3;3
> 44
> 160
> CP1250
> while on 6.6 I get this:
> $ LANG=cs_CZ.WIN-1250 locale LC_NUMERIC
> ,
> 3;3
> 44
> 160
> ANSI_X3.4-1968
That's certainly broken. The entire point of having a cs_CZ.WIN-1250
locale (as opposed to cs_CZ.something-else) would be to specify a
codeset corresponding to WIN-1250. Our code recognizes the spelling
"CP1250" for that. It's possible there are other spellings we should
recognize, but "ANSI_X3.4-1968" is certainly not one. As I said, that
just means ASCII, so it's completely useless for determining which
ASCII-superset encoding is wanted.
regards, tom lane