There is little bug in postgresql 7.4.
CREATE DATABASE my_db
WITH ENCODING = 'UNICODE';
CREATE TABLE mytable
(
my_column varchar NOT NULL,
CONSTRAINT primary_mytable PRIMARY KEY (my_column)
) WITHOUT OIDS;
Data in mytable doesn t order in alphabetical russian order (select
... ORDER BY my_column). (For example, result is 'BMLAT' but must be
'ABLMT' - for russian letters, of course).
For db in KOI8 encoding - all looks right.