Re: Sorting in Unicode not working - Mailing list pgsql-general

From Tom Lane
Subject Re: Sorting in Unicode not working
Date
Msg-id 24749.1081515199@sss.pgh.pa.us
Whole thread Raw
In response to Sorting in Unicode not working  (Hitesh Bagadiya <bagadiya@yahoo.com>)
Responses Re: Sorting in Unicode not working
Re: Sorting in Unicode not working
List pgsql-general
Hitesh Bagadiya <bagadiya@yahoo.com> writes:
> Our database contains Hindi as well as English characters. We
> have specified the encoding to be unicode during initdb as well
> as createdb commands.
> Unfortunately sorting of the Hindi fields is not working.

You need to make sure you initdb with the right locale, not only
the right encoding.  I dunno which locale you want ... but if
sort(1) sorts the way you want then Postgres should too.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: ERROR: invalid memory alloc request size 0
Next
From: Scott Ribe
Date:
Subject: Why would query return PGRES_NONFATAL_ERROR?