From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-15?Q?S=E9bastien?= Kirche Newsgroups: gmane.emacs.help Subject: Re: change input coding Date: Mon, 11 Apr 2005 15:48:46 +0200 Organization: Aucune. Message-ID: References: Reply-To: =?iso-8859-15?Q?S=E9bastien?= Kirche NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1113227758 5452 80.91.229.2 (11 Apr 2005 13:55:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Apr 2005 13:55:58 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 11 15:55:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DKzKg-0005XQ-O0 for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Apr 2005 15:52:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKyuo-000111-4D for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Apr 2005 09:25:22 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!freenix!news.cuq.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 195.25.216.129 Original-X-Trace: yeuse.cuq.org 1113227454 79130 195.25.216.129 (11 Apr 2005 13:50:54 GMT) Original-X-Complaints-To: abuse@cuq.org Original-NNTP-Posting-Date: Mon, 11 Apr 2005 13:50:54 +0000 (UTC) X-Face: ; T}O6aj2o*d:|9po%NCuYvExN3]<#cHr0"FaWCh[}WVn6&@L)YWO'&6AO5Ex:MX=H; .^e}o Td*OaFQEBc_xu%+ChwRl!KK`I'["$^aO1gIN{4OyBdO@1HHD5YO#[kiVCk|/-|mmYnU8yTp+eOv."d 1.G3; ro0Q/`,UY+vY/#5b/{OYxE+X\)tc~p~1vbmZ!o4sciW+e8MW|Pz|nl`l*}]8[#1zQO"]d2*{d wrTKu]5t*Gy_pm3e8o=:(c_ju'zlQ<[oJ|\XjgQQmWZC7S]-Fmp\eBHnBO']/te~/; \@l" D#:h)8Q Cancel-Lock: sha1:DDITsI4QxPX8P6Xs6ZIwNW7KGVU= User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (darwin) Original-Xref: shelby.stanford.edu gnu.emacs.help:129996 Original-To: help-gnu-emacs@gnu.org 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:25560 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25560 Le 11 Apr 2005, Peter Dyballa s'est exprimé ainsi : > > Am 11.04.2005 um 14:34 schrieb Sébastien Kirche: > > > What about changing the coding system just before opening the file ? > > C-x RET c utf-16-be RET C-x C-f > > > > Does it really work? I tried it myself a few times and did not get the > result I wished -- but I should do better testing for that and then > complain in the right list! At least it works great in OSX while opening some mac-roman encoded file with french accentuated characters whilst my prefer-coding-system within Emacs is latin-9. BTW : it works also with copy/paste between Emacs and other Mac applications. > I often launch for some testing another GNU Emacs, so it doesn't make > such a big difference when changing things globally ... C-x RET c lets you use another coding system for just a single command. After your environment remains unchanged (except for opening/saving a file : it defines the buffer coding system). -- Sébastien Kirche