Re: templates, encoding

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Zlatko Matić <zlatko(dot)matic1(at)sb(dot)t-com(dot)hr>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: templates, encoding
Date: 2005-07-29 14:21:48
Message-ID: 16730.1122646908@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

=?iso-8859-2?Q?Zlatko_Mati=E6?= <zlatko(dot)matic1(at)sb(dot)t-com(dot)hr> writes:
> My template0 and template1 have SQL ASCII encoding, while I created a =
> database with UNICODE encoding.
> Could it cause some conflicts ? If so, how can I change templates =
> databases to be UNICODE as well ?

The real question is whether the database's locale setting is compatible
with Unicode (utf-8). If not, you're going to see some problems with
comparing and sorting non-ASCII characters.

initdb is the only way to fix a bad choice of locale, unfortunately.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stefan Scherf 2005-07-29 15:19:52 tool for analysing the postgres log-file
Previous Message Csaba Nagy 2005-07-29 14:01:18 Re: [JDBC] Bad plan for queries with IN clause