Comment 7 for bug 11922

Revision history for this message
Jan (debian-gepro) wrote :

This is a UTF-8 problem common for several commandline programs. Midnight
commander has the save flaw. Some Czech characters are replaced by strange
sequences. Like:

 * 0. [P]\uffff~Yístup Volba p\uffff~Yístupové metody.
   1. [A]ktualizu Aktualizace informací o dostupných balících.
   2. [V]yber Výb\uffff~[r balík\u016f pro instalaci a odinstalaci.
   3. [N]ainstalu Instalace a aktualizace vybraných balík\u016f.
   4. [K]konfigur Konfigurace v\u0161ech nezkonfigurovaných balík\u016f.
   5. [O]dstra\uffff~H Odebrání ne\u017eádoucích balík\u016f.
   6. [U]kon\uffff~Mit Ukon\uffff~Mení dselectu.

the \uffff characters are shown as spaces on gnome-terminal, but its of little help.

using the locale cs_CZ.ISO-8859-2 the same text displays as it should:
(obtained by luit -encoding ISO-8859-2 ssh my.czech.warty.machine)

 * 0. [P]řístup Volba přístupové metody.
   1. [A]ktualizu Aktualizace informací o dostupných balících.
   2. [V]yber Výběr balíků pro instalaci a odinstalaci.
   3. [N]ainstalu Instalace a aktualizace vybraných balíků.
   4. [K]konfigur Konfigurace všech nezkonfigurovaných balíků.
   5. [O]dstraň Odebrání nežádoucích balíků.
   6. [U]končit Ukončení dselectu.

In case of dselect this problem is particulary anyoning, because if you run it with
different locale, some packages may get wrong idea about default system locale
while configured (perl).