|
From: | Peter Dyballa |
Subject: | Re: [Emacs 23] Does not show euro sign |
Date: | Sat, 3 Oct 2009 11:08:03 +0200 |
Am 03.10.2009 um 08:58 schrieb leandro noferini:
For emacs22 I used these lines to show characters from utf: ;; (setq-default enable-multibyte-characters t) ;; (setq locale-coding-system 'utf-8) ;; (set-terminal-coding-system 'utf-8) ;; (set-keyboard-coding-system 'utf-8) ;; (set-selection-coding-system 'utf-8) ;; (prefer-coding-system 'utf-8) ;; (set-language-environment 'UTF-8)
In GNU Emacs 23 the first line is obsolete, and I think the last one as well. The last but one line sets a preference and can be useful. The other lines can help to solve problems, in case there are any.
The environment variable LC_CTYPE (or LC_ALL) sets how GNU Emacs handles the default encoding.
-- Greetings PeteI wouldn't recommend sex, drugs or insanity for everyone, but they've always worked for me.
– Hunter S. Thompson
[Prev in Thread] | Current Thread | [Next in Thread] |