Re: Encoding problem with 7.4

From: "E(dot)Rodichev" <er(at)sai(dot)msu(dot)su>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Encoding problem with 7.4
Date: 2003-12-03 21:03:21
Message-ID: Pine.GSO.4.58.0312032359400.18749@ra.sai.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 3 Dec 2003, Alvaro Herrera wrote:

> On Wed, Dec 03, 2003 at 11:42:34PM +0300, E.Rodichev wrote:
> > On Wed, 3 Dec 2003, Stephan Szabo wrote:
> >
> > > No, it isn't. As far as PostgreSQL is concerned the database is SQL_ASCII
> > > since you didn't override the default encoding at initdb time or at
> > > createdb time. You did choose LC_ values that seem to want KOI8, but
> > > locale and encoding are separate, if you want KOI8 encoding, you have to
> > > say so.
> >
> > Yes, it is!
>
> What apparently you haven't picked up yet is that the _locale_ is a
> different and unrelated configuration setting from the _encoding_.
> Sort order is locale related; you already got that one right. Now you

Sorry, I got it WRONG!

Sort order for C locale MUST be the abcABC, not aAbBcC.

But I got aAbBcC.

Best wishes,
E.R.

> need to go after the encoding.
>
> --
> Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
> "El destino baraja y nosotros jugamos" (A. Schopenhauer)
>

_________________________________________________________________________
Evgeny Rodichev Sternberg Astronomical Institute
email: er(at)sai(dot)msu(dot)su Moscow State University
Phone: 007 (095) 939 2383
Fax: 007 (095) 932 8841 http://www.sai.msu.su/~er

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message E.Rodichev 2003-12-03 21:08:31 Re: Encoding problem with 7.4
Previous Message Stephan Szabo 2003-12-03 21:01:37 Re: Encoding problem with 7.4