[Top][All Lists]

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

Re: Accents through Mac OS Terminal

From: googlegroups
Subject: Re: Accents through Mac OS Terminal
Date: 12 Feb 2007 13:16:31 -0800
User-agent: G2/1.0

I'm up and running. Because I'm using emacs on at least one FreeBSD 4
machine (no UTF-8 locales) I set it up slightly differently (in order
to preserve access to the accented characters at the shell prompt and
in other apps).

- Emacs 21.4 (version 20 did not seem to work)
- locale (shell's LANG envvar) set to en_CA.ISO8859-1
- Escape non-ASCII characters off (Terminal window setting)
- Character Set Encoding: Western ISO Latin 1 (Terminal window
- Use option key as meta key off (Terminal window setting)
- (set-terminal-coding-system 'iso-latin-1) in ~/.emacs
- (set-keyboard-coding-system 'iso-latin-1) in ~/.emacs

This combination worked. Thanks for your tip about the coding systems.
That, in concert with an upgrade to emacs 21.4 did the trick.


On Feb 9, 12:12 pm, Stefan Monnier <address@hidden> wrote:
> You want to set your keyboard-coding-system:
>   M-x set-keyboard-coding-system RET utf-8 RET
> the coding system you want to use is utf-8 because that's what Mac OS 
> X'sTerminaluses by default.  Problem is: Emacs-20.7 does not support utf-8.
> Emacs-21.2 supports it to some extent, so it should work there.
> You may also need to set yourterminal-coding-system in order to display
> those chars correctly.

reply via email to

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