Re: The server's LC_CTYPE locale

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Ben-Nes <miki(at)canaan(dot)co(dot)il>
Cc: postgresql <pgsql-general(at)postgresql(dot)org>
Subject: Re: The server's LC_CTYPE locale
Date: 2006-05-28 22:04:31
Message-ID: 381.1148853871@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Ben-Nes <miki(at)canaan(dot)co(dot)il> writes:
> Im got the following error when the query string was one of the Hebrew
> chars:

> SELECT upper('');
> ERROR: invalid multibyte character for locale
> HINT: The server's LC_CTYPE locale is probably incompatible with the
> database encoding.

Hmph. I can't reproduce that here (using Fedora 4's version of he_IL.utf8
anyway). I assume your client_encoding was also UTF8? The troublesome
character came through in your email as \327\251 (D7 A9) ... is that
what you were actually entering? The reference to F9 in the other error
message makes me think the character got munged somewhere in the email
chain ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message AKHILESH GUPTA 2006-05-29 01:28:37 Free 1000 Rupee bank note
Previous Message Tom Lane 2006-05-28 21:36:17 Re: db crash after power crash