ITAGAKI Takahiro <[EMAIL PROTECTED]> writes:
> In fact, we can accept options like:
>   initdb -E UTF8 --locale=Japanese_Japan.932 -- CP932 is SJIS in nature

Hmm, but does that really work safely?  I think varstr_cmp() does work,
because it forces our data into wchar format and then calls wcscoll().
The thing that scares me is that various random other operating-system
calls might deliver strings in an unexpected encoding.  We've been
through similar problems with timezone names reported by strftime, for
example.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to