Re: [PATCHES] Solve a problem of LC_TIME of windows. - Mailing list pgsql-hackers

From ITAGAKI Takahiro
Subject Re: [PATCHES] Solve a problem of LC_TIME of windows.
Date
Msg-id 20081126174021.EFC6.52131E4D@oss.ntt.co.jp
Whole thread Raw
In response to Re: [PATCHES] Solve a problem of LC_TIME of windows.  (Hiroshi Inoue <inoue@tpf.co.jp>)
Responses Re: [PATCHES] Solve a problem of LC_TIME of windows.  (Hiroshi Inoue <inoue@tpf.co.jp>)
List pgsql-hackers
Hiroshi Inoue <inoue@tpf.co.jp> wrote:

> Please call setlocale(LC_CTYPE/LC_ALL, "") first.

Ah, it works! But setlocale(*, "") means that we always use platform
locale (Japanese and SJIS in Japan). It could be different from server
encoding and locale in postgres. Is it acceptable? I think we need to
set LC_CTYPE and other LC_* independently...

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center




pgsql-hackers by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: [PATCHES] Solve a problem of LC_TIME of windows.
Next
From: Heikki Linnakangas
Date:
Subject: Re: Windowing Function Patch Review -> Standard Conformance