From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: replacing characters and whacky trans-buffer conversion Date: Tue, 6 Mar 2007 17:28:43 +0100 Message-ID: <266B0820-DD96-45C5-96B7-B564953313B9@Web.DE> References: <45ED8574.3040201@speakeasy.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1173198751 9280 80.91.229.12 (6 Mar 2007 16:32:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2007 16:32:31 +0000 (UTC) Cc: GNU Emacs List To: ken Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 06 17:32:10 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HOca5-0007U6-Ea for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Mar 2007 17:32:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOcZC-0007yx-9K for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Mar 2007 11:31:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HOcXs-0007iq-JA for help-gnu-emacs@gnu.org; Tue, 06 Mar 2007 11:29:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HOcXn-0007gX-CY for help-gnu-emacs@gnu.org; Tue, 06 Mar 2007 11:29:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOcXn-0007gK-7S for help-gnu-emacs@gnu.org; Tue, 06 Mar 2007 11:29:43 -0500 Original-Received: from fmmailgate01.web.de ([217.72.192.221]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HOcXj-0000x5-Rf for help-gnu-emacs@gnu.org; Tue, 06 Mar 2007 11:29:42 -0500 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate01.web.de (Postfix) with ESMTP id 018BA68900E3; Tue, 6 Mar 2007 17:28:52 +0100 (CET) Original-Received: from [62.134.227.98] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.107 #114) id 1HOcWx-0004pm-00; Tue, 06 Mar 2007 17:28:51 +0100 In-Reply-To: <45ED8574.3040201@speakeasy.net> X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-detected-kernel: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41718 Archived-At: Am 06.03.2007 um 16:15 schrieb ken: > An email comes in with this (emdash) character in it: =96 It's only an EN DASH, U+2013 (dec 8211, oct 20023). There are only a =20 few encodings that contain it: CP1250 CP1251 CP1252 NeXT Mac-Greek Mac-Cyrillic Mac-Roman Adobe Standard Encoding (not complete, I presume). This character has in UTF-8 a =20 representation of 0xE2 0x80 0x92, three bytes. It seems that somehow =20 each of this three bytes is converted into some three byte =20 representation. A malfunction in GNOME? (At least I had once such =20 problems in Fedora Core 1.) Can you try to paste into an UTF-8 encoding buffer? Its mode-line =20 should start with -u: (or -U: in GNU Emacs 23.0.0). -- Greetings ~ O Pete ~~_\\_/% ~ O o