Re: BUG #15347: Unaccent for greek characters does not work

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #15347: Unaccent for greek characters does not work
Дата
Msg-id 25859.1535076450@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #15347: Unaccent for greek characters does not work  (Thomas Munro <thomas.munro@enterprisedb.com>)
Ответы Re: BUG #15347: Unaccent for greek characters does not work  (Thomas Munro <thomas.munro@enterprisedb.com>)
Список pgsql-bugs
Thomas Munro <thomas.munro@enterprisedb.com> writes:
> On Fri, Aug 24, 2018 at 12:12 PM, Michael Paquier <michael@paquier.xyz> wrote:
>> Perhaps it would be better to avoid non-ASCII characters in this script?

> You mean in the Python script?  Why?  At the top it has a PEP-263
> encoding declaration:
> # -*- coding: utf-8 -*-

What happens if someone tries to view this in a non-UTF8 encoding?

As a comparison point, we generally avoid using non-ASCII characters
directly in the SGML docs; we write out the appropriate SGML entity
instead.  I think we should try to do the equivalent thing here ---
I assume python has some way to write "U+nnnn" or some such.

            regards, tom lane


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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: BUG #15347: Unaccent for greek characters does not work
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: BUG #15347: Unaccent for greek characters does not work