Re: multi-languages in a table

From: Douglas McNaught <doug(at)mcnaught(dot)org>
To: "YL" <elim(at)pdtnetworks(dot)net>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: multi-languages in a table
Date: 2005-06-23 18:16:01
Message-ID: m28y11c526.fsf@Douglas-McNaughts-Powerbook.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"YL" <elim(at)pdtnetworks(dot)net> writes:

> I'm migrating from mysql to postgresql.
> I've several (mysql)tables with multi-language columns:
>
> descript, descript_gb, descript_b5, descript_sp
>
> they store the record's description in
> English, SimplifiedChinese, TraditionalChinese and Spanish respectively.
>
> I don't know if this will work in postgresql: I need to query those
> columns
> (one language at a time). And I hope the contents in those columns
> can be displayed in web (one language at a time) easily.
>
> Any suggestions? Thanks

I don't think this will be a problem, as long as you use UNICODE
(UTF-8) for the database encoding.

-Doug

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2005-06-23 18:30:16 Re: plpgsql and schema
Previous Message Tom Lane 2005-06-23 18:05:20 Re: Corrupted index