pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Tasos Maschalidis <TaS.O.S@hotmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #15347: Unaccent for greek characters does not work
Date: Thu, 23 Aug 2018 22:07:30 -0400
Message-ID: <25859.1535076450@sss.pgh.pa.us> (raw)
In-Reply-To: <CAEepm=0On-bBVGs3TkT-wbxjXDNw8d487XMy1R0_Rm=ytZ5eJA@mail.gmail.com>
References: <153495048900.1368.11566580687623014380@wrigleys.postgresql.org>
	<CAEepm=3a_5y+COG6AM0UFZXb4MQmxSdpQK3oGnri1kaP+Uqx5A@mail.gmail.com>
	<VI1PR01MB38537EBD529FE5EE3FE9A5FEB5370@VI1PR01MB3853.eurprd01.prod.exchangelabs.com>
	<CAEepm=0RUhOuvQs2LQnFYzR4GWHtn6wUT9UaKi+vC0erKW4=dw@mail.gmail.com>
	<20180824001239.GD30782@paquier.xyz>
	<CAEepm=0On-bBVGs3TkT-wbxjXDNw8d487XMy1R0_Rm=ytZ5eJA@mail.gmail.com>

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




view thread (16+ messages)  latest in thread

Message-ID: <25859.1535076450@sss.pgh.pa.us>
Permalink:  ../25859.1535076450@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25859.1535076450@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, thomas.munro@enterprisedb.com, michael@paquier.xyz, TaS.O.S@hotmail.com
  Subject: Re: BUG #15347: Unaccent for greek characters does not work
  In-Reply-To: <25859.1535076450@sss.pgh.pa.us>
  References: <153495048900.1368.11566580687623014380@wrigleys.postgresql.org> <CAEepm=3a_5y+COG6AM0UFZXb4MQmxSdpQK3oGnri1kaP+Uqx5A@mail.gmail.com> <VI1PR01MB38537EBD529FE5EE3FE9A5FEB5370@VI1PR01MB3853.eurprd01.prod.exchangelabs.com> <CAEepm=0RUhOuvQs2LQnFYzR4GWHtn6wUT9UaKi+vC0erKW4=dw@mail.gmail.com> <20180824001239.GD30782@paquier.xyz> <CAEepm=0On-bBVGs3TkT-wbxjXDNw8d487XMy1R0_Rm=ytZ5eJA@mail.gmail.com> <25859.1535076450@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox