Re: [HACKERS] UNICODE characters above 0x10000

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: [HACKERS] UNICODE characters above 0x10000
Дата
Msg-id 4114B32B.8080509@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: [HACKERS] UNICODE characters above 0x10000  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
> Now it's entirely possible that the underlying support is a few bricks
> shy of a load --- for instance I see that pg_utf_mblen thinks there are
> no UTF8 codes longer than 3 bytes whereas your code goes to 4.  I'm not
> an expert on this stuff, so I don't know what the UTF8 spec actually
> says.  But I do think you are fixing the code at the wrong level.

Surely there are UTF-8 codes that are at least 3 bytes.  I have a
_vague_ recollection that you have to keep escaping and escaping to get
up to like 4 bytes for some asian code points?

Chris


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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [HACKERS] UNICODE characters above 0x10000
Следующее
От: "John Hansen"
Дата:
Сообщение: Re: [HACKERS] UNICODE characters above 0x10000