From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46316 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: detecting encoding for Japanese Date: Fri, 30 Aug 2002 09:05:35 +0900 Organization: Emacsen advocacy group Sender: owner-ding@hpc.uh.edu Message-ID: References: <87sn0y43mc.fsf@ghidra.vail> <87fzwxycy9.fsf@ghidra.vail> <873csxws40.fsf@ghidra.vail> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030666082 31230 127.0.0.1 (30 Aug 2002 00:08:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 30 Aug 2002 00:08:02 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17kZKP-00086l-00 for ; Fri, 30 Aug 2002 02:07:58 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17kZJ1-0007ft-00; Thu, 29 Aug 2002 19:06:31 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 29 Aug 2002 19:07:04 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id TAA16828 for ; Thu, 29 Aug 2002 19:06:51 -0500 (CDT) Original-Received: (qmail 29462 invoked by alias); 30 Aug 2002 00:06:09 -0000 Original-Received: (qmail 29453 invoked from network); 30 Aug 2002 00:06:09 -0000 Original-Received: from unknown (HELO mars.web-hosting.com) (207.228.244.150) by gnus.org with SMTP; 30 Aug 2002 00:06:09 -0000 Original-Received: from localhost ([207.228.245.242]) by mars.web-hosting.com (8.11.1/8.11.1) with ESMTP id g7U062N29200 for ; Thu, 29 Aug 2002 20:06:02 -0400 (EDT) Original-To: ding@gnus.org User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Informed Management, sparc-sun-solaris2.6) X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( Cancel-Lock: sha1:eTICwA11ERMWddqOBZNV/3+XzpY= X-Hashcash: 020830:ding@gnus.org:5efaf33e78c3fa61 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46316 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46316 Well, Gnus sometimes encodes Japanese messages with the headers Content-Type: text/plain; charset=euc-jp Content-Transfer-Encoding: base64 or Content-Type: text/plain; charset=euc-jisx0213 Content-Transfer-Encoding: base64 if a user run Gnus under Emacs 21.x. The later case will be occurred if a user employs the jisx0213 module which is included in the Mule-UCS package. Though there are no problems technically and almost MUAs including Gnus can decode and show such messages correctly, those encodings are not so common in Japan. So, I recommend Japanese Gnus users customize the option `mm-coding-system-priorities' to have popular Japanese charsets as follows: (setq mm-coding-system-priorities '(iso-2022-jp iso-2022-jp-2 japanese-shift-jis utf-8)) ;; Visit http://www.jpl.org/elips/Gnus-Tips-ja.html for more ;; Japanese Gnus tips (which is written in Japanese, sorry). By the way, many sendmail MTAs tend to decode base64 or qp to 8bit in the message body arbitrarily. Here's an example: Content-Type: text/plain; charset=euc-jisx0213 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.foo.com... It is anxious about me in whether this does any bad influences. Hal, isn't such a thing in your mail files? -- Katsumi Yamaoka