From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30446 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.gnus.general Subject: Re: Problems with 8-bit headers Date: Thu, 27 Apr 2000 08:35:22 +0900 (JST) Sender: owner-ding@hpc.uh.edu Message-ID: <200004262335.IAA15704@etlken.etl.go.jp> References: <87og74hth9.fsf@deneb.cygnus.argh.org> <87snw9deq5.fsf@deneb.cygnus.argh.org> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035166981 8520 80.91.224.250 (21 Oct 2002 02:23:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:23:01 +0000 (UTC) Cc: vvv@vvv.vsu.ru, ding@gnus.org, handa@etl.go.jp 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 BBC4AD051E for ; Wed, 26 Apr 2000 19:38:02 -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 SAB00642; Wed, 26 Apr 2000 18:38:00 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 26 Apr 2000 18:37:08 -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 SAA28876 for ; Wed, 26 Apr 2000 18:36:58 -0500 (CDT) Original-Received: from mail1-im.etl.go.jp (mail1-im.etl.go.jp [192.50.105.9]) by mailhost.sclp.com (Postfix) with ESMTP id F0157D051E for ; Wed, 26 Apr 2000 19:35:50 -0400 (EDT) Original-Received: from etlken.etl.go.jp (etlken.etl.go.jp [192.50.73.50]) by mail1-im.etl.go.jp (8.9.3/3.7W-00032520) with ESMTP id IAA00222; Thu, 27 Apr 2000 08:35:26 +0900 (JST) Original-Received: (from handa@localhost) by etlken.etl.go.jp (8.8.8+Sun/3.7W-1999101307) id IAA15704; Thu, 27 Apr 2000 08:35:22 +0900 (JST) X-Authentication-Warning: etlken.etl.go.jp: handa set sender to handa@etl.go.jp using -f Original-To: pinard@iro.umontreal.ca In-reply-to: (message from =?ISO-8859-1?Q?Fran=E7ois_Pinard?= on 26 Apr 2000 16:49:08 -0400) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30446 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30446 =?ISO-8859-1?Q?Fran=E7ois_Pinard?= writes: > Vladimir Volovich writes: >> However, there is a bug somewhere in core Emacs which makes it misbehave >> when i receive messages with 8-bit content-transfer-encoding and characters >> in the range 0x80--0x9f (which often happens when i receive messages >> in UTF-8). > I fear that this is a strong limitation of Mule for Latin characters. > A kind that may be very hard to repair. Emacs still doesn't support UTF-8 encoding. But, I've just finished the work for handling 0x80..0x9f bytes in a better way in the developping code of Emacs 21. With that, those characters can appear even in a multibyte buffer without being combined with the following 0xa0..0xff bytes. And, thus, code conversion is now reversible. And, although the external package Mule-UCS supports UTF-8 encoding, as you already know, it can handle only such characters that Emacs supports. But, we have agreed on adding a new (Emacs internal) charset `mule-unicode-0100-24ff' which contains Unicode characters of the range U+0100..U+24FF (thus convers all Cyrillic characters). On reading UTF-8, Mule-UCS at first tries to map Cyrillic characters of cyrillic-8859-5, but if impossible, map to mule-unicode-0100-24ff. >> I store mails in nnmbox backend, and when i receive such a message, >> i get ENORMOUS time delays when pressing `g' in a group buffer, and >> article numbering gets broken (displayed number of articles in a group >> is overestimated), and such things. I think this is because Emacs uses >> "intelligent" auto-detection algorithm which wants to interpret a `mbox' >> buffer as if it were in some charset (mbox is opened in raw mode, but >> this does not help to switch of this "intelligent" behavior, and certain >> character combinations choke Emacs). This is a long-standing bug which >> is there for more than a year, but i don't know how to report it... :-( Which mail program are you using? Gnus? --- Ken'ichi HANDA handa@etl.go.jp