From: Andy <frum@ar-sd.net>
To: Andy <frum@ar-sd.net>
To: pgsql-admin@postgresql.org
Subject: Re: Database LATIN1 to UFT-8 (unicode) converting problem SOLVED
Date: Wed, 26 Apr 2006 14:49:26 +0300
Message-ID: <02b801c66927$78642d70$0b00a8c0@mpsro.dom> (raw)
References: <027501c66866$ff0999d0$0b00a8c0@mpsro.dom>
I found a solution: I re-run initdb with Unicode encoding and now seems to work fine.
I cannot figure out why did this happen, or does the initdb encoding affects all the databases or the db encoding is not enough to be specified?
Andy.
----- Original Message -----
From: Andy
To: pgsql-admin@postgresql.org
Sent: Tuesday, April 25, 2006 3:51 PM
Subject: [ADMIN] Database LATIN1 to UFT-8 (unicode) converting problem
Hi to all,
We just tried to switch out database from LATIN 1 (ISO 8859-1) to UTF-8. After a few tests we found out some problems:
- the upper and lower functions does not work for all characters. Especially lower returns nothing if a umlaut is in the converted string. The umlauts are not converted at all.
- the returned rows are not correctly sorted. รถ is before a and so on.
The server is a Suse 10 system. DB is Postgresql 8.0.3.
This sorting problem we had it before and it was the problem was at local system settings. Now everything is switched to UTF-8 (or it seems so).
Please advise.
Thank you,
Andy.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: frum@ar-sd.net
Subject: Re: Database LATIN1 to UFT-8 (unicode) converting problem SOLVED
In-Reply-To: <02b801c66927$78642d70$0b00a8c0@mpsro.dom>
References: <027501c66866$ff0999d0$0b00a8c0@mpsro.dom> <02b801c66927$78642d70$0b00a8c0@mpsro.dom>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox