[OS X Emacs] change text encoding on Aquamacs ?

Peter Dyballa Peter_Dyballa at Web.DE
Sun Jan 16 13:50:03 EST 2011


Am 16.01.2011 um 19:05 schrieb Marinos Koutsomichalis:

> How can I change the text encoding on Aquamacs ??


You could use

	(prefer-coding-system		'utf-8-hfs)

or whatever encoding you want. Don't set any language-environment (it  
has side-effects like pills also have). You could as well set LC_CTYPE  
and/or LANG in the environment and Emacs will follow this setting.

More variables exist by which you can set encodings for buffers,  
files, processes, copy&paste memory cells.

--
Greetings

   Pete

Computers are good at following instructions, but not at reading your  
mind.
	- D. E. Knuth, The TeXbook, Addison-Wesley 1984, 1986, 1996, p. 9




More information about the MacOSX-Emacs mailing list