[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with international characters in menus on Mac OSX
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: Problems with international characters in menus on Mac OSX |
Date: |
Mon, 06 Mar 2006 12:14:30 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Mon, 06 Mar 2006 11:55:44 +0900, Kenichi Handa <address@hidden> said:
> In article <address@hidden>, John Olsson <address@hidden> writes:
>> If I add a menu to the menu bar (or menu items to a menu) containing
>> international characters (for instance any of the swedish characters
>> 'å', 'ä' and 'ö') they will not show up correctly.
>> For instance
>> 'å' shows as Â
>> 'ä' shows as '‰'
>> 'ö' shows as '^'
>> 'Å' shows as '≈'
> [...]
>> In GNU Emacs 22.0.50.1 (powerpc-apple-darwin7.9.0)
>> of 2005-09-28 on lucy - Aquamacs Distribution 0.9.6
> It seems that this is a problem specific to
> powerpc-apple-darwin7.9.0. On GNU/Linux with X Window
> System, for instance, the following code works well;
> i.e. clicking "Test" in menu bar shows "å ä ö Å" correctly
> (in latin-1 language environment).
> (define-key global-map [menu-bar test]
> (cons "Test" test-menu))
> ("Test" keymap "Test")
> (define-key test-menu [test-insert]
> '(menu-item "å ä ö Å" (lambda () (interactive) (insert "å ä ö Å"))))
It also works on Mac OS X/Carbon. (I suppose you have (setq test-menu
(make-sparse-keymap "Test")) before the first expression.) Maybe
specific to Aquamacs 0.9.6?
YAMAMOTO Mitsuharu
address@hidden