From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30043 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: 5.8.2 bug: test=?iso-8859-5?b?IOLV4eI=?==?iso-8859-1?q?_t=E9=DFt?= test Date: 21 Apr 2000 19:25:40 +0200 Organization: Programmerer Ingebrigtsen Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035166625 6387 80.91.224.250 (21 Oct 2002 02:17:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:17:05 +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 D1EF1D051E for ; Fri, 21 Apr 2000 13:13:50 -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 MAB27705; Fri, 21 Apr 2000 12:13:44 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 21 Apr 2000 12:13:09 -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 MAA03170 for ; Fri, 21 Apr 2000 12:12:57 -0500 (CDT) Original-Received: from quimby.gnus.org (quimby.gnus.org [193.69.4.139]) by mailhost.sclp.com (Postfix) with ESMTP id BEA48D051E for ; Fri, 21 Apr 2000 13:13:13 -0400 (EDT) Original-Received: (from news@localhost) by quimby.gnus.org (8.9.3/8.9.3) id TAA25570 for ding@gnus.org; Fri, 21 Apr 2000 19:15:07 +0200 (CEST) Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 34 Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby.gnus.org 956337307 18892 193.69.4.148 (21 Apr 2000 17:15:07 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 21 Apr 2000 17:15:07 GMT Mail-Copies-To: never X-Now-Playing: Sue Garner and Rick Brown's _Still_: "Absosrbed" User-Agent: Gnus/5.0805 (Gnus v5.8.5) XEmacs/21.2 (Sumida) X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > when sending a message with this subject, gnus encodes non-ascii text > as encoded-word, and as a result, the space between a cyrillic word > (koi8-r) and a latin-1 word is lost. This rule was already discussed > in this list (in a different thread): > > RFC 2047 says: > > RFC-2047> When displaying a particular header field that contains > RFC-2047> multiple 'encoded-word's, any 'linear-white-space' that > RFC-2047> separates a pair of adjacent 'encoded-word's is ignored. > RFC-2047> (This is to allow the use of multiple 'encoded-word's to > RFC-2047> represent long strings of unencoded text, without having to > RFC-2047> separate 'encoded-word's where spaces occur in the unencoded > RFC-2047> text.) > > The subject contained a cyrillic word and a latin-1 word separated by > a real space. Gnus encoded both words as encoded-word, but not encoded > a space between them. As a result, this space is ignored when > displaying the subject. Oh dear. So should the rfc2047 algorithm be: 1) find all words (or phrases) to encode 2) encode all the words or phrases 3) if there are now two encoded words after each other, we encode a space in between them? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen