pg.ddx.io  pgsql-patches@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: 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 14:10:58 +0900
Message-ID: <492CDA62.306@tpf.co.jp> (raw)
In-Reply-To: <20081126114014.7D90.52131E4D@oss.ntt.co.jp>
References: <20081125173024.7B45.52131E4D@oss.ntt.co.jp>
	<68B4047E859E4A4C97FAC4077F23DDFA@HIRO57887DE653>
	<20081126114014.7D90.52131E4D@oss.ntt.co.jp>

$B0f>e$G$9!#(B

ITAGAKI Takahiro wrote:
> "Hiroshi Saito" <z-saito@guitar.ocn.ne.jp> 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.

$B;d$O(Bmingw$B$r;H$C$F$$$J$$$N$G$h$/$o$+$i$J$$$N$G$9$,!"%i%s%?%$%`$b0l=o$K(B
$BDs6!$7$F$$$k$N$G$9$+!)(B

> We'd better to
> use strftime() and multiple conversions to avoid the Microsoft's bug.




view thread (45+ messages)  latest in thread

Message-ID: <492CDA62.306@tpf.co.jp>
Permalink:  ../492CDA62.306@tpf.co.jp/
Also on:    postgresql.org/message-id/492CDA62.306@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, z-saito@guitar.ocn.ne.jp, pgsql-hackers@postgresql.org
  Subject: Re: [PATCHES] Solve a problem of LC_TIME of windows.
  In-Reply-To: <492CDA62.306@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