Re: create db with -E

From: Kathy Zhu <Kathy(dot)Zhu(at)Sun(dot)COM>
To: nagy(at)ecircle-ag(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: create db with -E
Date: 2003-05-16 16:37:26
Message-ID: 200305161637.h4GGbQN21427@amon.Central.Sun.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

echo $LANG returns "C".
I think postgres needs "EUC_US", "EUC_JP" ...

> Subject: Re: [GENERAL] create db with -E
> From: Csaba Nagy <nagy(at)ecircle-ag(dot)com>
> To: Kathy Zhu <Kathy(dot)Zhu(at)sun(dot)com>
> Cc: peter_e(at)gmx(dot)net, Postgres general mailing list
<pgsql-general(at)postgresql(dot)org>
> Content-Transfer-Encoding: 7bit
> Date: 16 May 2003 17:33:42 +0200
>
> On my system (redhat linux) that's:
> echo $LANG
> i.e. the LANG environment variable is used by all well behaved programs
> to set their character encoding.
>
> HTH,
> Csaba.
>
> On Fri, 2003-05-16 at 16:57, Kathy Zhu wrote:
> > When I do, I got a list back. I wonder how to get the property name whose
value
> > is "en_US.UTF-8" ?? That's the value I want to get to pass to -E.
> > Thanks,
> > kathy
> >
> > #lang -a
> > POSIX
> > common
> > en_US.UTF-8
> > C
> > iso_8859_1
> >
> >
> >
> > > X-Unix-From: peter_e(at)gmx(dot)net Tue May 13 03:25:23 2003
> > > Date: Tue, 13 May 2003 11:27:23 +0200 (CEST)
> > > From: Peter Eisentraut <peter_e(at)gmx(dot)net>
> > > X-X-Sender: peter(at)peter(dot)localdomain
> > > To: Kathy Zhu <Kathy(dot)Zhu(at)sun(dot)com>
> > > cc: pgsql-general(at)postgresql(dot)org
> > > Subject: Re: [GENERAL] create db with -E
> > >
> > > Kathy Zhu writes:
> > >
> > > > how do dynamically (in script) figure out which encoding to use ("-E
xxx")
> > > > depending on the OS.
> > >
> > > locale -k charmap
> > >
> > > --
> > > Peter Eisentraut peter_e(at)gmx(dot)net
> > >
> >
> >
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 2: you can get off all lists at once with the unregister command
> > (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
> >
>
>

Browse pgsql-general by date

  From Date Subject
Next Message Nigel J. Andrews 2003-05-16 16:54:21 Re: FW: See that security pack from the Microsoft
Previous Message Reece Hart 2003-05-16 16:23:13 Re: table inheritance and foreign keys