pg.ddx.io  pgsql-patches@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Cc: Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: [PATCHES] Solve a problem of LC_TIME of windows.
Date: Wed, 26 Nov 2008 17:28:47 +0900
Message-ID: <492D08BF.6090601@tpf.co.jp> (raw)
In-Reply-To: <20081126171019.EFC3.52131E4D@oss.ntt.co.jp>
References: <492CDA62.306@tpf.co.jp>
	<DE949CF046E94851A58B0662D10E310A@HIRO57887DE653>
	<20081126171019.EFC3.52131E4D@oss.ntt.co.jp>

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




view thread (45+ messages)  latest in thread

Message-ID: <492D08BF.6090601@tpf.co.jp>
Permalink:  ../492D08BF.6090601@tpf.co.jp/
Also on:    postgresql.org/message-id/492D08BF.6090601@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-patches@postgresql.org
  Cc: inoue@tpf.co.jp, itagaki.takahiro@oss.ntt.co.jp, z-saito@guitar.ocn.ne.jp, pgsql-hackers@postgresql.org
  Subject: Re: [PATCHES] Solve a problem of LC_TIME of windows.
  In-Reply-To: <492D08BF.6090601@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox