From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jérôme Haguet" Newsgroups: gmane.emacs.help Subject: [PCL-CVS] Interactive diff on a utf-8 encoded file Date: Tue, 9 Sep 2003 18:37:06 +0200 Organization: Guest of ProXad - France Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3f5e0162$0$20183$626a54ce@news.free.fr> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1063127457 5827 80.91.224.253 (9 Sep 2003 17:10:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Sep 2003 17:10:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 09 19:10:55 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19wm10-000648-00 for ; Tue, 09 Sep 2003 19:10:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19wlxH-0006WJ-6t for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Sep 2003 13:07:03 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!proxad.net!feeder2-1.proxad.net!news3-1.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Original-Lines: 25 Original-NNTP-Posting-Date: 09 Sep 2003 18:35:46 MEST Original-NNTP-Posting-Host: 217.167.42.235 Original-X-Trace: 1063125346 news3-1.free.fr 20183 217.167.42.235:3842 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:116468 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12387 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12387 Hello I have - GNU Emacs 21.3 on Windows - a CVS checkout in which most of the files are encoded in ISO-8859-1 and some others in UTF-8. All the utf-8 encoded files have the .utf extension I have added in my .emacs the following line : (add-to-list 'file-coding-system-alist (list "\\.utf" 'utf-8)) prefer-coding-system is set to 'iso-latin-1 Everything works fine when I open a file (Emacs set the right coding system) My problem is when I run interactive diff from PCL-CVS (d e) Emacs always set the coding system of the BASE version of the .utf files to iso-8859-1 Any idea how to fix this ? Thank you in advance. Jérôme