i18n + widechars

Urs Janßen <[email protected]>
Newsgroups gmane.network.tin.devel
Message-ID <[email protected]>
Andrei Emeltchenko (who is currently working on the russian
translation) noticed that if running in a utf-8 environment some
width/length calculations for the screen layout are wrong (as they
simply do strlen() and co). here is an example of the 'M'enu screen
in a utf-8 term with LC_CTYPE=LC_MESSAGES=de_DE.utf-8
                                                       
|     17. Zeige Thread mit rechter Pfeilt. an: ON
| ->  18. Nä.ungel.-kein Abbr. am Listenende?: ON
|     19. Zeichen für gelöschte Artikel        : D
|     20. Zeichen für Artikel im Bereich     : #       
|     21. Zeichen für wiederkehrende Artikel : -  
|     22. Zeichen für wichtige Artikel        : *      
|     23. Zeichen für aktuelle Artikel        : o      
|     24. Zeichen für ungelesene Artikel     : +       
|     25. Zeichen für gelesene Artikel        :        
|     26. Zeichen für gekillte Artikel        : K      
|     27. Zeichen für gelesene wichtige Art. : :       
|     28. Max. Länge angezeigter Gruppennamen: 34
|     29. Zeige Zeilenz./Bewert. in Übersicht: Zeilen
|     30. Bewertung eines Threads            : Höchster

anyone willing to look at this?

urs
-- 
"Only whimps use tape backup: _real_ men just upload their important stuff
 on ftp, and let the rest of the world mirror it ;)" - Linus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.