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 20081126171019.EFC3.52131E4D@oss.ntt.co.jp
Whole thread Raw
In response to Re: [PATCHES] Solve a problem of LC_TIME of windows.  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
Responses Re: [PATCHES] Solve a problem of LC_TIME of windows.  (Hiroshi Inoue <inoue@tpf.co.jp>)
List pgsql-hackers
"Hiroshi Saito" <z-saito@guitar.ocn.ne.jp> wrote:

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

No, definition of _UNICODE is independent from wcsftime (and
other wcs functions). It affects only _tcs functions (_tcsftime).

Wednesday in japanese should be the following sequences in unicode:   wcs = 6c34 66dc 65e5 -- sui yo bi

I rebuild my test on VC++2005 SP1, but it has the same bug.
So, we cannot use wcsftime in Windows unless we build binaries
in VC++2008 at least (and the bug is fixed there).

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




pgsql-hackers by date:

Previous
From: Gianni Ciolli
Date:
Subject: [REVIEW] (was Re: usermap regexp support)
Next
From: Hiroshi Inoue
Date:
Subject: Re: [PATCHES] Solve a problem of LC_TIME of windows.