Re: Latin2 and UTF-8 encoding. - Mailing list pgsql-bugs

From Heikki Linnakangas
Subject Re: Latin2 and UTF-8 encoding.
Date
Msg-id 48B2BF76.3020906@enterprisedb.com
Whole thread Raw
In response to Latin2 and UTF-8 encoding.  ("kpeter@oszk.hu" <kpeter@oszk.hu>)
List pgsql-bugs
kpeter@oszk.hu wrote:
> The problem is that we need both UTF-8, LATIN1 and LATIN2 characters.
>
> My question is: How could I create a database with NON-UTF-8 encoding.

Just use UTF-8. UTF-8 can represent all characters that are present in
LATIN1 and LATIN2.

You can still use LATIN1 or LATIN2 as client_encoding if you need to,
even if the server uses UTF-8.

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

pgsql-bugs by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: Need default password for the user "sa"
Next
From: tomas@tuxteam.de
Date:
Subject: Re: Latin2 and UTF-8 encoding.