Re: Unicode problems on IRC

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Unicode problems on IRC
Дата
Msg-id 4259B98B.6030509@opencloud.com
обсуждение исходный текст
Ответ на Re: Unicode problems on IRC  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

> Yeah?  Cool.  Does John's proposed patch do it "correctly"?
> 
> http://candle.pha.pa.us/mhonarc/patches2/msg00076.html

Some comments on that patch:

Doesn't pg_utf2wchar_with_len need changes for the longer sequences?

UtfToLocal also appears to need changes.

If we support sequences >4 bytes (>U+10FFFF), then UtfToLocal/LocalToUtf
and the associated translation tables need a redesign as they currently
assume the sequence fits in an unsigned int. (IIRC, Unicode doesn't use
>U+10FFFF, but UTF-8 can encode it?)

-O


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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: System vs non-system casts
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: [PERFORM] Functionscan estimates