Re: multi-languages in a table

Поиск
Список
Период
Сортировка
От Douglas McNaught
Тема Re: multi-languages in a table
Дата
Msg-id m28y11c526.fsf@Douglas-McNaughts-Powerbook.local
обсуждение исходный текст
Ответ на multi-languages in a table  ("YL" <elim@pdtnetworks.net>)
Ответы Re: multi-languages in a table  ("mrix" <gmarik@gmail.com>)
Список pgsql-general
"YL" <elim@pdtnetworks.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

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Corrupted index
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: plpgsql and schema