From: | Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp> |
---|---|
To: | Hiroshi Saito <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [PATCHES] Solve a problem of LC_TIME of windows. |
Date: | 2008-11-26 05:10:58 |
Message-ID: | 492CDA62.306@tpf.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
井上です。
ITAGAKI Takahiro wrote:
> "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp> wrote:
>
>> Um, It was not supported.
>> http://winpg.jp/~saito/pg_work/LC_MESSAGE_CHECK/LC_TIME_PATCH/ITAGAKI_PATCH.txt
>
> Hmm... the implementation of wcsftime() in msvcrt seems to be
> completely broken.
>
> I ran the attached test (localetest.c) and got the following results.
> The point is that wcsftime() returns the same character codes as strftime()
> i.e, the result is not an unicode string :-(
>
> The bug might be fixed in recently msvcrts in VC2005 or VC2008,
> but at least mingw uses the old broken C runtime.
私はmingwを使っていないのでよくわからないのですが、ランタイムも一緒に
提供しているのですか?
> We'd better to
> use strftime() and multiple conversions to avoid the Microsoft's bug.
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Saito | 2008-11-26 05:24:55 | Re: [PATCHES] Solve a problem of LC_TIME of windows. |
Previous Message | Robert Haas | 2008-11-26 04:43:02 | Re: WIP: Automatic view update rules |
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Saito | 2008-11-26 05:24:55 | Re: [PATCHES] Solve a problem of LC_TIME of windows. |
Previous Message | ITAGAKI Takahiro | 2008-11-26 03:03:01 | Re: [PATCHES] Solve a problem of LC_TIME of windows. |