From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69860 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Double encoding in ~/Mail/active Date: Tue, 03 Aug 2010 07:54:46 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87zkx42qc9.fsf@topper.koldfront.dk> References: <87eiej21gd.fsf@topper.koldfront.dk> <878w4qoqe7.fsf@topper.koldfront.dk> <877hkasr6g.fsf@topper.koldfront.dk> <87tynemvr3.fsf@topper.koldfront.dk> <87d3u07krz.fsf@topper.koldfront.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1280815042 20231 80.91.229.12 (3 Aug 2010 05:57:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Aug 2010 05:57:22 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18247@lists.math.uh.edu Tue Aug 03 07:57:21 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OgAV6-0004g3-RE for ding-account@gmane.org; Tue, 03 Aug 2010 07:57:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OgAT2-0002ia-8X; Tue, 03 Aug 2010 00:55:12 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OgASp-0002iN-K0 for ding@lists.math.uh.edu; Tue, 03 Aug 2010 00:54:59 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OgASn-00010N-4H for ding@lists.math.uh.edu; Tue, 03 Aug 2010 00:54:59 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OgASm-0000ES-00 for ; Tue, 03 Aug 2010 07:54:56 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OgASm-0003tz-A0 for ding@gnus.org; Tue, 03 Aug 2010 07:54:56 +0200 Original-Received: from rain.gmane.org ([80.91.229.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Aug 2010 07:54:56 +0200 Original-Received: from asjo by rain.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Aug 2010 07:54:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: rain.gmane.org X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69860 Archived-At: On Tue, 03 Aug 2010 08:21:17 +0900, Katsumi wrote: > Adam Sjøgren wrote: >> On Mon, 02 Aug 2010 09:14:08 +0900, Katsumi wrote: >>> It happens only in XEmacs. In Emacs, the double encoding is not >>> happen even if using encode-coding-string twice. >> Is this a GNU Emacs or an XEmacs bug? I guess it should be reported? > No, it's my fault. ;-p But isn't it inconsistent "in a bad way" that GNU Emacs won't double encode a string and XEmacs will? Wouldn't it be better if both emacsen behaved the same? I.e. your example: (decode-coding-string (encode-coding-string (encode-coding-string "hyskenstræde" 'utf-8) 'utf-8) 'utf-8) ought to give either "hyskenstræde" or "hyskenstræde" on both emacsen? (I don't know which of the behaviors would be correct, though). Best regards, Adam -- "The laws of perspective have been repealed! Adam Sjøgren Objects no longer diminish in size with distance!" asjo@koldfront.dk