[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: change input coding
From: |
Sébastien Kirche |
Subject: |
Re: change input coding |
Date: |
Mon, 11 Apr 2005 15:48:46 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (darwin) |
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 <the file>
> >
>
> 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