<<< Date Index >>>     <<< Thread Index >>>

Re: mutt/2305: [patch] UTF-8 characters do not display correctly with S-lang on an xterm



The following reply was made to PR mutt/2305; it has been noted by GNATS.

From: Rocco Rutte <pdmef@xxxxxxx>
To: bug-any@xxxxxxxxxxxxx
Cc: 
Subject: Re: mutt/2305: [patch] UTF-8 characters do not display correctly with 
S-lang on an xterm
Date: Sat, 24 Jun 2006 09:26:43 +0000

 * rsmith@xxxxxxxxx <rsmith@xxxxxxxxx>:
 >>Environment:
 >FreeBSD slackbox.xs4all.nl 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue May  9 
 >22:46:51 CEST 2006     rsmith@xxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/RFS  
 >amd64
 
 Which SLang version?
 
 >>Fix:
 >The fix is to apply the following patch to main.c:
 
 >------------ patch --------------
 >--- main.c.orig Fri Jun 23 19:21:12 2006
 >+++ main.c      Fri Jun 23 19:22:06 2006
 >@@ -483,6 +483,7 @@
 >   SLtt_Ignore_Beep = 1; /* don't do that #*$@^! annoying visual beep! */
 >   SLsmg_Display_Eight_Bit = 128; /* characters above this are printable */
 >   SLtt_set_color(0, NULL, "default", "default");
 >+  SLutf8_enable(1); /* Enable utf-8 support. */
 
 We need to check first which SLang version introduced this 
 function/macro to use it conditionally, perhaps. UTF-8 support was 
 added to it in version 2.x while 1.x doesn't have it, slang.h of SLang 
 1.4.9 doesn't include the call here (so we even need autoconf magic).
 
    bye, Rocco
 -- 
 :wq!