Re: Problem with error messages

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Problem with error messages
Дата
Msg-id 2177748d-ff90-535c-080c-5ee0f399f4af@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Problem with error messages  (Alexander Law <exclusion@gmail.com>)
Ответы Re: Problem with error messages  (Alexander Law <exclusion@gmail.com>)
Список 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


В списке pgsql-translators по дате отправления:

Предыдущее
От: Alexander Law
Дата:
Сообщение: Re: Problem with error messages
Следующее
От: Alexander Law
Дата:
Сообщение: Re: Problem with error messages