From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | Alexander Law <exclusion(at)gmail(dot)com>, pgsql-translators(at)postgresql(dot)org |
Cc: | Walter Willmertinger <willmis(at)gmail(dot)com> |
Subject: | Re: Problem with error messages |
Date: | 2016-07-20 23:45:02 |
Message-ID: | 2177748d-ff90-535c-080c-5ee0f399f4af@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-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
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Law | 2016-07-21 05:59:20 | Re: Problem with error messages |
Previous Message | Alexander Law | 2016-07-20 06:34:11 | Re: Problem with error messages |