[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PostgreSQL & Hebrew Charset
- To: Ben-Nes Michael <miki(at-nospam)canaan.co.il>, ILUG <linux-il(at-nospam)linux.org.il>, Ivrix Discussions <ivrix-discuss(at-nospam)ivrix.org.il>
- Subject: Re: PostgreSQL & Hebrew Charset
- From: Herouth Maoz <herouth(at-nospam)netvision.net.il>
- Date: Mon, 25 Dec 2000 20:07:44 +0200
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <3A478006.666E4259@canaan.co.il>
- References: <3A478006.666E4259@canaan.co.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Monday 25 December 2000 19:12, Ben-Nes Michael wrote:
> Hi
>
> does any one know if postgresl (7) support hebrew charset ? (sorting,
> group ... )
> If so, what is the way to enable it ?
I haven't used Postgres 7, but unless they changed the internals very
seriously, it is supposed to support Hebrew, if you have the locale
installed on your machine (iw_IL locale, if I'm not mistaken). Note
that Postgres has to be compiled with --enable-locale.
Then, you have to set the proper environment variables to have locale
affect the operation of the client (or the server - if you want the
default to be Hebrew).
Not that there is much difference between using ISO-8859-1 or
ISO-8859-8 for this purpose, since unlike mySQL, all Postgres queries
are case-sensitive - so if you don't have Hebrew locale installed, you
can settle for 8859-1. Just take care not to use "C" - I think it's a
7-bit locale and won't like your Hebrew.
http://postgresql.readysetnet.com/devel-corner/docs/admin/charset.htm#LOCALE
Herouth
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il