From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Alexander Law <exclusion@gmail.com>
To: pgsql-translators@postgresql.org
Cc: Walter Willmertinger <willmis@gmail.com>
Subject: Re: Problem with error messages
Date: Wed, 20 Jul 2016 19:45:02 -0400
Message-ID: <2177748d-ff90-535c-080c-5ee0f399f4af@2ndquadrant.com> (raw)
In-Reply-To: <578F1B63.5000301@gmail.com>
References: <CAHbMG0U0E_vOEwOwChrZ4Nq06xx5W7hdevwABo9uMjQ6urkZ3g@mail.gmail.com>
<337ce77f-4159-0f43-cdb7-fcac30e3e219@2ndquadrant.com>
<578F1B63.5000301@gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-translators>
On 7/20/16 2:34 AM, Alexander Law wrote:
> I think we shouldn't leave them with the untranslated messages, instead
> we just should TRANSLIT option of iconv.
> For example:
>
>>echo 'HINWEIS: Tabelle »mickeymouse« existiert nicht, wird übersprungen' | iconv -f UTF-8 -t ASCII
> HINWEIS: Tabelle iconv: illegal input sequence at position 17
>
> But
>
>>echo 'HINWEIS: Tabelle »mickeymouse« existiert nicht, wird übersprungen' | iconv -f UTF-8 -t ASCII//TRANSLIT
> HINWEIS: Tabelle >>mickeymouse<< existiert nicht, wird ubersprungen
>
> Is much better and still better than to show untranslated message with
> the notice about failed conversion.
Right, but we don't have that functionality in PostgreSQL. It would
have to be implemented, and the transliteration tables provided.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-translators mailing list (pgsql-translators@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-translators
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 using the --to and --cc options:
reply via email
To: pgsql-translators@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, exclusion@gmail.com, willmis@gmail.com
Subject: Re: Problem with error messages
In-Reply-To: <2177748d-ff90-535c-080c-5ee0f399f4af@2ndquadrant.com>
* 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