Re: Win1250 database under linux

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Damir Bijuklic <damirbijuklic(at)yahoo(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Win1250 database under linux
Date: 2005-04-30 16:08:23
Message-ID: 1869.1114877303@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Damir Bijuklic <damirbijuklic(at)yahoo(dot)com> writes:
> I'm using WIN1250 locale on both databases.

Does your Linux platform even have such a locale? Mine doesn't.
("locale -a" will show you what is supported.) I suspect your
machine is not recognizing the LANG setting and is falling back
to behave as though the locale is POSIX.

> Client is java, and no special SET commands are
> executed on connection... Don't know other specifich
> which would be useful.

AFAIK, Java does not do WIN1250, only Unicode.

You would probably be best off using Unicode (UTF8) encoding and some
suitable locale setting (again, see "locale -a") on the Unix platform.

regards, tom lane

Browse pgsql-bugs by date

  From Date Subject
Next Message Jaime Casanova 2005-04-30 16:38:39 Re: BUG #1639: Problema re-instalacion
Previous Message Theodore Petrosky 2005-04-30 14:00:57 Re: looks like apple fixed /etc/rc