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

Bug#653226: xterm does not more allow mutt to set title



On Sun, Dec 25, 2011 at 05:09:19PM +0100, Michelle Konzack wrote:
> Package: xterm
> Version: 261-1
> Severity: normal
> Tags: squeeze
> 
> While Lenny is working fine with a mutt config like
> 
> ----[ '~/.mutt/tdmuttmailboxes.ml_technic' ]----------------------------
> set xterm_icon  = 'ML_technic [%n] %f'
> set xterm_title = 'ML_technic [%n] %f'

It's more likely that your locale has changed to use UTF-8 encoding,
and that (unless modified via resource setting) xterm's title strings
are ISO-8859-1.

man xterm

       utf8Title (class Utf8Title)
               Applications  can  set  xterm's  title  by  writing  a  control
               sequence.   Normally  this  control  sequence follows the VT220
               convention, which encodes the string in ISO-8859-1  and  allows
               for an 8-bit string terminator.  If xterm is started in a UTF-8
               locale, it translates the ISO-8859-1 string to  UTF-8  to  work
               with the X libraries which assume the string is UTF-8.

               However, some users may wish to write a title string encoded in
               UTF-8.  Set this resource to ``true'' to  allow  UTF-8  encoded
               title strings.  That cancels the translation to UTF-8, allowing
               UTF-8 strings to be displayed as is.

               The default is ``false.''

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


Reply to: