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

Поиск
Список
Период
Сортировка
Искать
От
Hiroshi Saito
Тема
Re: [PATCHES] Solve a problem of LC_TIME of windows.
Дата
Msg-id
DE949CF046E94851A58B0662D10E310A@HIRO57887DE653
Список
Дерево обсуждения
Re: Solve a problem of LC_TIME of windows. "Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>
Re: Solve a problem of LC_TIME of windows. Tom Lane <tgl@sss.pgh.pa.us>
Hi.

I think that MinGW does not have a direct relation. 
#define_UNICODE is required for wcsftime. 
Probably, ITAGAKI-san has only forgotten it.:-)

P.S) 
日本語になっていましたです:-)

Regards,
Hiroshi Saito

----- Original Message ----- 
From: "Hiroshi Inoue" 


> 井上です。
> 
> ITAGAKI Takahiro wrote:
>> "Hiroshi Saito"  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.
> 
> 
> -- 
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers

В списке pgsql-hackers по дате отправления
От: Hiroshi Inoue
Дата:
От: Hitoshi Harada
Дата:
FAQ