Mantis - xterm
Viewing Issue Advanced Details
2968 regular use minor always 2008-12-10 15:27 2014-02-14 15:57
skayser  
skayser  
normal  
closed  
fixed  
none    
none  
0002968: Encoding options (-u8, -lc) documented but not supported
The man page documents various encoding related options that are _not_ supported by the provided xterm binary. Could you please enable these options (i guess --enable-i18n and/or --enable-wide-chars should do the trick)?

$ man -M /opt/csw/share/man xterm

     ...

     -lc Turn on support of various encodings according to
             the users' locale setting, i.e., LC_ALL, LC_CTYPE,
             or LANG environment variables. This is achieved by
             turning on UTF-8 mode and by invoking luit for

     ...

     -u8 This option sets the utf8 resource. When utf8 is
             set, xterm interprets incoming data as UTF-8. This
             sets the wideChars resource as a side-effect, but
             the UTF-8 mode set by this option prevents it from

     ...

$ /opt/csw/bin/xterm -u8
/opt/csw/bin/xterm: bad command line option "-u8"

$ /opt/csw/bin/xterm -lc
/opt/csw/bin/xterm: bad command line option "-lc"
$ pkginfo -x CSWxterm
CSWxterm xterm - The xterm program is a terminal emulator for the X Window System
          (i386) 235,REV=2008.05.27

$ xterm -v
XTerm(235)
Issue History
2008-12-10 15:27 skayser New Issue
2009-04-10 11:12 skayser Note Added: 0005952
2009-04-10 11:12 skayser Status new => assigned
2009-04-10 11:12 skayser Assigned To => skayser
2014-02-14 15:57 dam Status assigned => closed
2014-02-14 15:57 dam Resolution open => fixed

Notes
(0005952)
skayser   
2009-04-10 11:12   
Updated version (243) including UTF-8 support has been pushed to current.

xterm-243,REV=2009.04.09-SunOS5.8-i386-CSW.pkg.gz
xterm-243,REV=2009.04.09-SunOS5.8-sparc-CSW.pkg.gz

Support for other locales via luit is not yet available. luit is part of XFree86, but Sun only ships it starting with nv_85. Will have to see whether to --enable-mini-luit in xterm or compile a stand-alone luit version.