Add NOTICE about non-NFC-characters and clues for solution

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема Add NOTICE about non-NFC-characters and clues for solution
Дата
Msg-id 154236566566.1325.15566173904955824857@wrigleys.postgresql.org
обсуждение исходный текст
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/unaccent.html
Description:

Seems a bug, because the `select unaccent('Iglésias')` result in accented
"iglésias" again... It is correct because length('Iglésias') is 9 instead
8. 

The problem is not rare as you can check by pageviews of
https://stackoverflow.com/questions/24863716  
The solution is to feed database with good UTF8 (NFC characteres).  
 
**SUGGESTION**:  add a notice for reders, about the aparent bug with non-NFC
input, showing examples and clues about solutions.

REF: https://en.wikipedia.org/wiki/Unicode_equivalence#Example

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

Предыдущее
От: "Jonathan S. Katz"
Дата:
Сообщение: Re: Images in the official documentation
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: typo in parallel safety doc