X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 9D060475F00 for ; Sat, 10 May 2003 07:24:08 -0400 (EDT) Received: from post.webmailer.de (natsmtp00.webmailer.de [192.67.198.74]) by postgresql.org (Postfix) with ESMTP id A96B4475F1B for ; Sat, 10 May 2003 07:23:32 -0400 (EDT) Received: from iwate.ianb.homelinux.net (pD951768F.dip.t-dialin.net [217.81.118.143]) by post.webmailer.de (8.12.8/8.8.7) with ESMTP id h4ABNYvx016578; Sat, 10 May 2003 13:23:34 +0200 (MEST) From: Ian Barwick To: Terence Ng , admin pgsql Subject: Re: Multilingual database Date: Sat, 10 May 2003 13:22:42 +0200 User-Agent: KMail/1.5.1 References: <20030509013238.64462.qmail@web41104.mail.yahoo.com> In-Reply-To: <20030509013238.64462.qmail@web41104.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305101322.42425.barwick@gmx.net> X-Spam-Status: No, hits=-34.4 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,NO_DNS_FOR_FROM, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_KMAIL autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/128 X-Sequence-Number: 8690 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