Re: Sorting in Unicode not working

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: hitesh(at)shukrasoft(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Sorting in Unicode not working
Date: 2004-04-09 12:53:19
Message-ID: 24749.1081515199@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hitesh Bagadiya <bagadiya(at)yahoo(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Ribe 2004-04-09 16:36:33 Why would query return PGRES_NONFATAL_ERROR?
Previous Message Tom Lane 2004-04-09 12:11:51 Re: ERROR: invalid memory alloc request size 0