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

Re: UTF-8 issues (reposted from mutt-users)



 On Thursday, December 11, 2003 at 9:17:26 PM -0200, Carlos Laviola wrote:

> On Thu, Dec 11, 2003 at 02:00:47PM +0100, Alain Bench wrote:
>> of the JA-patch (or of the compat patch) from Takashi Takizawa
> where I can get the patch?

    <URL:http://www.emaillab.org/mutt/1.5/mutt-1.5.4i-ja.1.tar.gz> for
the latest stable release of JA-patch, and for the latest beta of same
<URL:http://www.emaillab.org/mutt/1.5/mutt-1.5.5.1i-ja.1.beta.tar.gz>.

    And now there is the compat patch, a JA-patch with removed some
features interesting mostly only Japanese people, and removed some cool
but hum... "off-topic" features (like subject-[tag] hiding):
<URL:http://www.emaillab.org/mutt/1.4/patch-1.4.1.tt.compat.1.gz>

    For this compat-patch, here comes attached a little bugfix from
Takashi. It's yet included in latest beta of JA-patch.


>> a wishlist for inclusion of the JA-patch
> I hope Artur agrees with you :-)

    If only Thomas could also agree... I mean I use the full JA-patch
since monthes applied to my production Mutt, never had grave problems,
and it permits easely things that are simply not doable with stock Mutt
(out of preprocesing original mails, which I dislike). Especially good
for people playing with numerous terms and charsets. Or UTF-8.


Bye!    Alain.
-- 
Hotmail users break umlauts for everyone else on a mailing list!
They should stop doing so immediately!
        « MSN considered HARMFUL » PCC CB on MU. © June 2002
--- charset.c.old       Fri Jul 18 00:27:16 2003
+++ charset.c   Fri Jul 18 00:14:54 2003
@@ -568,11 +568,11 @@
   size_t n;
 
   c = charset;
-  c1 = strchr (c, ':');
-  n = c1 ? c1 - c : mutt_strlen (c);
-  if (!n)
-    return NULL;
-  strfcpy (fcharset, c, n + 1);
+  if (!mutt_strlen(c))
+    return "us-ascii";   
+  if (!(c1 = strchr (c, ':')))
+    return charset;
+  strfcpy (fcharset, c, c1 - c + 1);
   return fcharset;
 }
 
--- PATCHES     Tue Nov  6 19:59:33 2001
+++ PATCHES     Tue Nov  6 19:59:42 2001
@@ -1,0 +1 @@
+patch-1.4.tt.ja.1-ter