From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30680 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: should mbox be opened in unibyte mode Date: 04 May 2000 17:33:12 -0400 Organization: U of Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2nog6mrofb.fsf@tiger.jia.vnet> References: <2nn1m6js5u.fsf@tiger.jia.vnet> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035167181 9732 80.91.224.250 (21 Oct 2002 02:26:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:26:21 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 6D4C6D051E for ; Thu, 4 May 2000 17:32:58 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id QAB18805; Thu, 4 May 2000 16:32:57 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 04 May 2000 16:32:26 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id QAA01002 for ; Thu, 4 May 2000 16:32:15 -0500 (CDT) Original-Received: from shenghuo.dhs.org (d185d1eec.rochester.rr.com [24.93.30.236]) by mailhost.sclp.com (Postfix) with ESMTP id 566FFD051E for ; Thu, 4 May 2000 17:31:11 -0400 (EDT) Original-Received: (from zsh@localhost) by shenghuo.dhs.org (8.10.0/8.10.0) id e44LXD502302; Thu, 4 May 2000 17:33:13 -0400 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: Vladimir Volovich's message of "05 May 2000 00:27:27 +0400" Original-Lines: 27 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.6 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30680 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30680 >>>>> "VV" == Vladimir Volovich writes: VV> "ZSH" == Shenghuo ZHU writes: ZSH> Multibyte is intentionally enabled in the mbox buffer. I don't ZSH> know the reason. VV> i thought a bit on this, and it seems that mbox MUST be opened in VV> unibyte mode, otherwise the results will be broken. VV> mbox may contain arbitrary 8-bit data (coming from 8-bit CTT mime VV> parts e.g. in utf-8). these 8-bit char sequences must not be VV> interpreted by mule as multibyte chars because this is plain wrong: VV> these sequences come from random standard registered charsets which VV> have nothing to do with internal mule encoding. so, the mbox should be VV> treated as a raw (uni)byte sequence, but not as something that has VV> relation to internal mule encoding. I think unibyte mode does not really matter how mbox is opened, but the coding-system does. Have you tried (setq nnmbox-file-coding-system 'binary) (setq nnmbox-active-file-coding-system 'binary) It might solve the problem. -- Shenghuo