Re: [PATCHES] Solve a problem of LC_TIME of windows.
| От | Hiroshi Inoue |
|---|---|
| Тема | Re: [PATCHES] Solve a problem of LC_TIME of windows. |
| Дата | |
| Msg-id | 492D08BF.6090601@tpf.co.jp обсуждение исходный текст |
| Ответ на | Re: [PATCHES] Solve a problem of LC_TIME of windows. (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>) |
| Ответы |
Re: [PATCHES] Solve a problem of LC_TIME of windows.
|
| Список | pgsql-hackers |
ITAGAKI Takahiro wrote: > "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). Please call setlocale(LC_CTYPE/LC_ALL, "") first. regards, Hiroshi Inoue
В списке pgsql-hackers по дате отправления: