pg.ddx.io  pgsql-patches@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
To: pgsql-patches@postgresql.org
Subject: Solve a problem of LC_TIME of windows.
Date: Mon, 15 Sep 2008 22:34:13 +0900
Message-ID: <03c301c91737$be5a2a30$0e01a8c0@IBMC9A0F63B40D> (raw)

Hi.

I have problem of LC_TIME of windows.(CVS-HEAD)

As for Version 8.3.3. It is edited by wrong gettext and is. (But, it is expressed.)
http://winpg.jp/~saito/pg_work/LC_MESSAGE_CHECK/LC_TIME_PATCH/pg8.3.3-to_char_gettext_format.png

As for Version 8.4. It came to be used by Tom-san in strftime of Native-windowsAPI.
It is good improvement.! But, strftime of Native returns a result by CODEPAGE of
environment of operation by Windows with LC_TIME. In Japanese environment, return
value is SJIS(CP932). Then, SJIS(CP932) can't be chosen by SERVER_ENCODING.:-(
http://winpg.jp/~saito/pg_work/LC_MESSAGE_CHECK/pg84beta-03-to_char.png

Then, I'm proposal patch. It is solved splendidly.
http://winpg.jp/~saito/pg_work/LC_MESSAGE_CHECK/LC_TIME_PATCH/DATECHECK_EUCJP.txt
http://winpg.jp/~saito/pg_work/LC_MESSAGE_CHECK/LC_TIME_PATCH/DATECHECK_UTF8.txt

Regards,
Hiroshi Saito 

Attachments:

  pg_locale_patch-v3 (application/octet-stream, 1.8K) download

view thread (45+ messages)  latest in thread

Message-ID: <03c301c91737$be5a2a30$0e01a8c0@IBMC9A0F63B40D>
Permalink:  ../03c301c91737$be5a2a30$0e01a8c0@IBMC9A0F63B40D/
Also on:    postgresql.org/message-id/03c301c91737$be5a2a30$0e01a8c0@IBMC9A0F63B40D

 · 

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: z-saito@guitar.ocn.ne.jp
  Subject: Re: Solve a problem of LC_TIME of windows.
  In-Reply-To: <03c301c91737$be5a2a30$0e01a8c0@IBMC9A0F63B40D>

* 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