Re: [PATCHES] Solve a problem of LC_TIME of windows.

From: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
Cc: Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] Solve a problem of LC_TIME of windows.
Date: 2008-11-26 08:51:08
Message-ID: 20081126174021.EFC6.52131E4D@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


Hiroshi Inoue <inoue(at)tpf(dot)co(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2008-11-26 09:00:51 Re: Windowing Function Patch Review -> Standard Conformance
Previous Message Hiroshi Inoue 2008-11-26 08:28:47 Re: [PATCHES] Solve a problem of LC_TIME of windows.

Browse pgsql-patches by date

  From Date Subject
Next Message Hiroshi Inoue 2008-11-26 09:29:43 Re: [PATCHES] Solve a problem of LC_TIME of windows.
Previous Message Hiroshi Inoue 2008-11-26 08:28:47 Re: [PATCHES] Solve a problem of LC_TIME of windows.