Received: from hub.org.org (localhost [127.0.0.1]) by hub.org (8.10.1/8.10.1) with SMTP id e9A2d0J49442 for ; Mon, 9 Oct 2000 22:39:00 -0400 (EDT) Received: from hotmail.com (f81.law3.hotmail.com [209.185.241.81]) by hub.org (8.10.1/8.10.1) with ESMTP id e978wmJ58347; Sat, 7 Oct 2000 04:58:48 -0400 (EDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 7 Oct 2000 01:58:42 -0700 Received: from 212.39.72.18 by lw3fd.law3.hotmail.msn.com with HTTP; Sat, 07 Oct 2000 08:58:42 GMT X-Originating-IP: [212.39.72.18] From: "Anton Kalauzky" To: pgsql-admin@postgreSQL.org, pgsql-general@postgreSQL.org Subject: PostgreSQL encoding question Date: Sat, 07 Oct 2000 08:58:42 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 07 Oct 2000 08:58:42.0627 (UTC) FILETIME=[CAE0B930:01C0303C] X-Archive-Number: 200010/43 X-Sequence-Number: 837 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.