[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UTF-8 curses



> > Finally, is there any way an application or library might be able to 
> > tell whether the terminal is capable of displaying a particular 
> > character (in the current font)? Lynx, for example, already contains 
> > tables for stripping diacritics when the character with diacritic is 
> > not in the current 8-bit display charset, but all this is lost when 
> > the display charset is utf-8. So, ironically, changing the display 
> > charset to utf-8 can make a web page less, not more readable. 
>  
> Isn't that what termcap/terminfo is for? 

not exactly - termcap and terminfo don't tell the application (in their
current conventions, anyway) if the terminal wants to talk utf-8.  nor
do they have any support for telling if a given character is displayable.

-- 
Thomas E. Dickey
dickey@clark.net
http://www.clark.net/pub/dickey
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/