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: Ediff problem with accents Date: Tue, 12 Sep 2006 23:36:37 +0200 Message-ID: <61CD86F9-90F0-45D9-888B-D344320541A8@Web.DE> References: <87lkoosu5e.fsf@mundaneum.mygooglest.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1158097034 9772 80.91.229.2 (12 Sep 2006 21:37:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Sep 2006 21:37:14 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 12 23:37:12 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GNFw7-0004MT-8l for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Sep 2006 23:36:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNFw6-0004t6-O4 for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Sep 2006 17:36:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GNFvu-0004ra-3C for help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 17:36:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GNFvs-0004pR-Do for help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 17:36:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNFvs-0004pM-80 for help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 17:36:40 -0400 Original-Received: from [217.72.192.227] (helo=fmmailgate02.web.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GNFxR-0001zp-T3 for help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 17:38:18 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id B8E8A1DD8745; Tue, 12 Sep 2006 23:36:38 +0200 (CEST) Original-Received: from [87.193.41.186] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.107 #114) id 1GNFvq-0004OK-00; Tue, 12 Sep 2006 23:36:38 +0200 In-Reply-To: <87lkoosu5e.fsf@mundaneum.mygooglest.com> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: =?ISO-8859-1?Q?S=E9bastien_Vauban?= X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de 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:37317 Archived-At: Am 12.09.2006 um 20:32 schrieb S=E9bastien Vauban: > ,----[ Source buffer ] > | Ce document pr=E9sente le d=E9tail des modifications = apport=E9es... > | Avant. > | > |----[ Modified buffer ] > | Ce document pr=C3=A9sente le d=C3=A9tail des modifications = apport=C3=A9es... > | Maintenant. > `---- The upper buffer's contents is obviously presented in an ISO Latin =20 encoding, presumingly ISO 8859-1 or ISO 8859-15, the lower one shows =20 an UTF-8 contents in obviously the same ISO Latin encoding (=E9 is in =20= UTF-8 C3 A9, or: =C3 =A9). But it seems more likely that (almost) the =20= same UTF-8 contents is displayed once in UTF-8 (correct) and once in =20 ISO Latin (incorrect). To make both buffers appear (in) the same (encoding) you should put =20 into your .emacs file: (prefer-coding-system 'utf-8-unix) or set environment variables like LC_CTYPE or LANG with UTF-8 in it, =20 like mine: de_DE.UTF-8. This setting will make GNU Emacs to =20 automatically use UTF-8. At least if works for my buffers with UTF-8 contents in ediff ... -- Greetings Pete "Let's face it; we don't want a free market economy either." James Farley, president, Coca-Cola Export Corp., 1959