[mew-int 01256] Re: Word documents

Kazu Yamamoto ( 山本和彦 ) kazu at example.com
Fri Jan 24 11:06:07 JST 2003


Hello,

From: Christophe TROESTLER <debian00 at example.com>
Subject: [mew-int 01252] Word documents

> this but I do no see which one...  Another possibility may be that the
> header of the HTML header file is
> 
> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-15">

Chris kindly sent a WORD document to me and it was displayed broken
even in machine. So, I investigated this bug.

Mew assumes output of wvHtml is encoded in UTF-8. This is ALWAYS true
in Japanese environments. However, it appeared, wvHtml produces output
encoded in ISO-8859-15 IF POSSIBLE. So, in European environments,
Mew's assumption is wrong in many times.

Please apply this patch to Mew 3.1.52 (or do "cvs update") to fix this
problem. It seems to me that there is no way to specify charset to
wvHtml prior to 0.7. So, please use wvHtml greater than or equal to
0.7.

Thank you for your report, Chris.

--Kazu

Index: mew-mime.el
===================================================================
RCS file: /cvsroot/mew/mew/mew-mime.el,v
retrieving revision 1.58
diff -c -r1.58 mew-mime.el
*** mew-mime.el	2003/01/16 11:03:31	1.58
--- mew-mime.el	2003/01/24 01:56:32
***************
*** 633,638 ****
--- 633,639 ----
  	   (if mew-use-old-wvhtml
  	       (call-process prog nil nil nil file1 file2)
  	     (call-process prog nil nil nil
+ 			   "--charset=utf-8"
  			   (concat "--targetdir=" (file-name-directory file2))
  			   file1 
  			   (file-name-nondirectory file2)))




More information about the Mew-int mailing list