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