Skip site navigation (1) Skip section navigation (2)

NLS on MSVC strikes back!

From: "Gevik Babakhani" <pgdev(at)xs4all(dot)nl>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: NLS on MSVC strikes back!
Date: 2008-02-12 11:53:23
Message-ID: 001001c86d6d$df39f740$0a01a8c0@gevmus (view raw or flat)
Thread:
Lists: pgsql-hackers
I have compiled 8.3 (CVS HEAD) with NLS on a XP box. But it seems that NLS
support is broke.
Could someone please confirm this.

My test:

Gevik=#
Gevik=# show lc_messages ;
        lc_messages
----------------------------
 English_United States.1252
(1 row)

Gevik=#
Gevik=# set lc_messages TO 'de_DE.utf8';
SET
Gevik=# show lc_messages ;
 lc_messages
-------------
 de_DE.utf8
(1 row)

Gevik=# select to_char(now(), 'TMDay, DD TMMonth YYYY');
          to_char
---------------------------
 Tuesday, 12 February 2008
(1 row)

Gevik=#
Gevik=# set lc_messages TO 'es_ES.utf8';
SET
Gevik=# show lc_messages ;
 lc_messages
-------------
 es_ES.utf8
(1 row)

Gevik=# select to_char(now(), 'TMDay, DD TMMonth YYYY');
          to_char
---------------------------
 Tuesday, 12 February 2008
(1 row)





Responses

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2008-02-12 12:10:35
Subject: Re: NLS on MSVC strikes back!
Previous:From: Stefan KaltenbrunnerDate: 2008-02-12 11:39:42
Subject: Re: Patch review

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group