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