Hi,

I have the latest T2 svn version and Xorg environment (compiled with T2). I
tried to use UTF8 locale and appropriate charset (in this case special
scandinavian letters) to work in Xorg and xterm window.

After trying "everything" in xorg and xterm config files I found out that by
default T2 compiles xterm package without --enable-wide-chars configuation
option. 

The fix was a configuration specific pkg_xterm.conf file and following line
there
 . $confdir/$pkg.conf
 var_append confopt ' ' '--enable-wide-chars'

After this change xterm shows correct special chars (non-ascii 7 bit chars)
because T2 has proper unicode fonts already.

I think that this change might be good to have in master xterm.conf package
file because UTF8 is nowadays pretty standard stuff in Xorg.

Next thing I need to check is whether Linux kernel CONFIG_NLS_DEFAULT should
be UTF8 also instead of iso8859-1. However, I dont know all potential side
effects of this change, so dont dare to do it yet.

-- 
View this message in context: 
http://www.nabble.com/xterm-and-utf8-locale-and-charset-%28compilation-fix-or-trick%29-tp25806429p25806429.html
Sent from the T2 mailing list archive at Nabble.com.



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to