From: Ian Barwick <barwick@gmx.net>
To: Terence Ng <ngterry2000@yahoo.com.hk>
To: admin pgsql <pgsql-admin@postgresql.org>
Subject: Re: Multilingual database
Date: Sat, 10 May 2003 13:22:42 +0200
Message-ID: <200305101322.42425.barwick@gmx.net> (raw)
In-Reply-To: <20030509013238.64462.qmail@web41104.mail.yahoo.com>
References: <20030509013238.64462.qmail@web41104.mail.yahoo.com>
On Friday 09 May 2003 03:32, Terence Ng wrote:
> Hi!
>
> I would like to store the title and description of a
> product in different languages. Should I use unicode
> (UTF-8) to store the different languages in one
> database, or I should initialize different databases
> for the different languages?
Administratively it is far easier to have everything in
one database. PostgreSQL can also convert between
Unicode and many local character sets (including
most CJK ones) on the fly.
However, PostgreSQL currently only enables one locale
per cluster (set of databases), so certain operations
(sorting "alphabetically" in a particular language) may
be tricky.
Ian Barwick
barwick@gmx.net
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: barwick@gmx.net, ngterry2000@yahoo.com.hk
Subject: Re: Multilingual database
In-Reply-To: <200305101322.42425.barwick@gmx.net>
References: <20030509013238.64462.qmail@web41104.mail.yahoo.com> <200305101322.42425.barwick@gmx.net>
* 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