|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
xterm and utf8 locale and charset (compilation fix or trick)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. |
|
|
Re: xterm and utf8 locale and charset (compilation fix or trick)Hi Mike,
thank you for the feedback. I too use UTF8 for years, if not a decade–especially as my name already includes a non-7-bit character :-) I use rxvt-unicode for qutie some time now, though. I've added the additional xterm config option to T2. Committed revision 34436. If you have news regarding the kernel NLS config let us know! Greetings, René On 08.10.2009, at 21:45, Mike N wrote: > > > 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 > lists@... with a subject of: unsubscribe t2 René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin DE Legal: Amtsgericht Charlottenburg HRB 105123B, Tax-ID#: DE251602478 Managing Directors: Susanne Klaus, René Rebe http://exactcode.com | http://t2-project.org | http://rene.rebe.name ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to lists@... with a subject of: unsubscribe t2 |
| Free embeddable forum powered by Nabble | Forum Help |