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
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to