ITAGAKI Takahiro wrote:
>
> Hiroshi Inoue <inoue@tpf.co.jp> wrote:
>
> > Seems LC_CTYPE and LC_TIME should be convertible even though we use
> > wcsftime (which internally calls strftime?).
>
> Ok, wcsftime() requries both LC_TIME and LC_CTYPE are the same setting
> (at least encoding) on Windows.
shouldn't this use LC_TIME?
+ setlocale(LC_CTYPE, locale_time);
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support