Re: Implementing full UTF-8 support (aka supporting 0x00)

Поиск
Список
Период
Сортировка
От Álvaro Hernández Tortosa
Тема Re: Implementing full UTF-8 support (aka supporting 0x00)
Дата
Msg-id 13c36522-ca3f-5e78-3518-6615f3defb7f@8kdata.com
обсуждение исходный текст
Ответ на Re: Implementing full UTF-8 support (aka supporting 0x00)  (Geoff Winkless <pgsqladmin@geoff.dj>)
Список pgsql-hackers

On 03/08/16 18:35, Geoff Winkless wrote:
> On 3 August 2016 at 15:54, Álvaro Hernández Tortosa <aht@8kdata.com> wrote:
>>      Given that 0x00 is a perfectly legal UTF-8 character, I conclude we're
>> strictly non-compliant.
> It's perhaps worth mentioning that 0x00 is valid ASCII too, and
> PostgreSQL has never stored that either.
    Then yes, it could also be a problem. But as of today I believe 
solving the problem for UTF-8 would solve the great majority of this 
embedded NUL problems.
    Álvaro


-- 

Álvaro Hernández Tortosa


-----------
8Kdata




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: New version numbering practices
Следующее
От: Andrey Borodin
Дата:
Сообщение: Re: Optimizing numeric SUM() aggregate