Received: from ra.sai.msu.su (ra.sai.msu.su [158.250.29.2]) by hub.org (8.10.1/8.10.1) with ESMTP id e9ADr0J79053; Tue, 10 Oct 2000 09:53:00 -0400 (EDT) Received: from ra (ra [158.250.29.2]) by ra.sai.msu.su (8.9.3/8.9.3) with ESMTP id QAA07288; Tue, 10 Oct 2000 16:52:08 +0300 (GMT) Date: Tue, 10 Oct 2000 16:52:07 +0300 (GMT) From: Oleg Bartunov X-Sender: megera@ra To: Anton Kalauzky cc: pgsql-admin@postgreSQL.org, pgsql-general@postgreSQL.org Subject: Re: PostgreSQL encoding question In-Reply-To: Message-ID: Organization: Sternberg Astronomical Institute (Moscow University) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=koi8-r Content-Transfer-Encoding: 8bit X-Archive-Number: 200010/49 X-Sequence-Number: 843 Anton, you can communicate with me in Russian. Quick questions: 1. what's the ouput of 'psql -l' 2. Did you compile postgresql yourself and which options you used. 3. did you setup locale environment before starting postmaster 4. Could you check if locale is working on your systems Regards, Oleg On Sat, 7 Oct 2000, Anton Kalauzky wrote: > Date: Sat, 07 Oct 2000 08:58:42 GMT > From: Anton Kalauzky > To: pgsql-admin@postgreSQL.org, pgsql-general@postgreSQL.org > Subject: [ADMIN] PostgreSQL encoding question > > Dear friends, > > I have two PC's with exactly the same configurations - one in my office and > the other at home. They are running RedHat Linux 6.2 and PostgreSQL included > in distribution. The first one I recently installed by upgrading from Linux > 6.1 and the for the second one I went through full installation process. > > I have also exactly the same db's, tables and row's in PostgreSQL. All my > data's are completely equal. Recently found that when I invoke SQL command > "SELECT * FROM nst ORDER BY name;" I have different answers on my systems. I > would like to mention that I use KOI8 (RUSSIAN) encoding. The 1-st one puts > English before Russian, it's ok because they have less ASCII codes. But the > 2-nd one is little strange. It sorts Russian characters truely but puts > digits and English after Russian. Here it is some outscreen: > > SELECT name,id FROM nst ORDER BY name; > ----------- > χιξο > νοξιτος > χιξο 1971 > νοξιτος 15" > Telephone > Windows > > I found some SET commands but they didn't gave me any result. > > So, do you have any idea about solving this problem? Thank you for your > time. > > All the best. > Anton Kalauzki > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > Share information about yourself, create your own public profile at > http://profiles.msn.com. > _____________________________________________________________ Oleg Bartunov, sci.researcher, hostmaster of AstroNet, Sternberg Astronomical Institute, Moscow University (Russia) Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/ phone: +007(095)939-16-83, +007(095)939-23-83