pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Patrick Welche <prlw1@newn.cam.ac.uk>
To: oserra@fondos.net
Cc: pgsql-interfaces@postgresql.org
Subject: Re: [INTERFACES] Spanish format on date and numbers
Date: Sat, 27 Nov 1999 13:34:02 +0000 (GMT)
Message-ID: <E11rhzG-0002Np-00@quartz.newn.cam.ac.uk> (raw)
In-Reply-To: <006e01bf3844$8c693560$0778ebc3@pep>

Oscar Serrano wrote:

> And it seems that I must first define and export the variables LANG, LC_ALL,
> LC_CTYPE (and probably LC_COLLATE).
> The LANG variable seems to must be: LANG="es_ES", for spanish configuration.
> The LC_CTYPE must be something like this: LC_CTYPE="ISO8859-1". But, what is
> the ISO for spain?

Vague memory tells me it's ISO8859-2. I use LC_CTYPE=iso_8859_1, as in my
/usr/share/locale directory (this is under NetBSD) I have

% ls /usr/share/locale
de         es         iso_8859_1 nl         pl         sl
el         fr         ko         no         ru         sv
% ls /usr/share/locale/iso_8859_1
LC_CTYPE

I don't know where I would find nor how to write an appropriate LC_CTYPE
file - never needed to, and never tried --enable-locale - I just set LC_CTYPE
for nice keyboard sequences.

> So, if I define this variables and use the --enable-locale, the psql will
> return the numbers and dates in the spanish format?
> I can't believe it.

There's only one way to find out!

Good luck,

Patrick



view thread (22+ messages)  latest in thread

Message-ID: <E11rhzG-0002Np-00@quartz.newn.cam.ac.uk>
Permalink:  ../E11rhzG-0002Np-00@quartz.newn.cam.ac.uk/
Also on:    postgresql.org/message-id/E11rhzG-0002Np-00@quartz.newn.cam.ac.uk

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-interfaces@postgresql.org
  Cc: prlw1@newn.cam.ac.uk, oserra@fondos.net
  Subject: Re: [INTERFACES] Spanish format on date and numbers
  In-Reply-To: <E11rhzG-0002Np-00@quartz.newn.cam.ac.uk>
  References: <006e01bf3844$8c693560$0778ebc3@pep> <E11rhzG-0002Np-00@quartz.newn.cam.ac.uk>

* 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