help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS and Unicode


From: Peter Dyballa
Subject: Re: Mac OS and Unicode
Date: Sat, 9 Feb 2008 10:59:00 +0100


Am 08.02.2008 um 18:59 schrieb Florian Lindner:

What is missing to make emacs use utf-8 when saving files?


Carbon Emacs *can* save in UTF-8. Make sure that you do not have any settings that make a particular type of files saved non-UTF-8 (as I have for TeX, for example). The mode-line contains information about the encoding. If it's not starting with ``-u:´´ then you can change this from a menu: Options -> Mule -> Set Coding System -> For Saving This Buffer – C-x RET f <your choice> RET. *Messages* and *scratch* should be UTF-8, when there's nothing that prevents it.


The command ``defaults´´ works also on ~/.MacOSX/environment.plist. For example:

        defaults write ${HOME}/.MacOSX/environment LANG <your choice>
setenv MANPATH `defaults read "${HOME}/.MacOSX/environment" MANPATH` ~/.cshrc export PATH=$(defaults read "${HOME}/.MacOSX/environment" PATH) ~/.bash_login

--
Mit friedvollen Grüßen

  Pete

We also sponsor National Invisible Chronic Illness Awareness Week annually in September.
Join the millions






reply via email to

[Prev in Thread] Current Thread [Next in Thread]