emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Problems with international characters in menus on Mac OSX


From: Kenichi Handa
Subject: Re: Problems with international characters in menus on Mac OSX
Date: Mon, 06 Mar 2006 11:55:44 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

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 "å ä ö Å"))))

---
Kenichi Handa
address@hidden




reply via email to

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