Proposal: Adding CP51932 encoding

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Proposal: Adding CP51932 encoding
Дата
Msg-id 20070330.220226.132899725.t-ishii@sraoss.co.jp
обсуждение исходный текст
Список pgsql-hackers
Hi,

Here is a proposal to add a client side encoding CP51932. CP51932 is
an encoding for Japanese, defined by Microsoft. It is similar to
existing EUC_JP encoding but some characters are mapped
differently. Unfortunately for most Windows apps "EUC-JP" means
CP51932. As a result, for example, if a web page is encoded with
EUC-JP, web browsers will encode users' input as CP51932 and save data
to PostgreSQL database as CP51932, which is not what PostgreSQL
expects of course. Adding CP51932 <--> EUC_JP conversion should solve
the problem (CP51932 <--> UTF-8 and SJIS should be added too).

If there's no objection, patches for current will be posted for a
review (patches have been develpped by a Japanese developer, not me).

Comments and suggestions are welcome.
--
Tatsuo Ishii
SRA OSS, Inc. Japan


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Proposal: include PL/Proxy into core
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Autovacuum vs statement_timeout