GNU bug report logs - #10299
Emacs doesn't handle Unicode characters in keyboard layout on MS Windows

Previous Next

Package: emacs;

Reported by: Joakim Hårsman <joakim.harsman <at> gmail.com>

Date: Wed, 14 Dec 2011 20:42:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Joakim Hårsman <joakim.harsman <at> gmail.com>
Subject: bug#10299: closed (Re: bug#10299: Emacs doesn't handle Unicode
 characters in keyboard layout on MS Windows)
Date: Fri, 10 Aug 2012 07:05:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#10299: Emacs doesn't handle Unicode characters in keyboard layout on MS Windows

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 10299 <at> debbugs.gnu.org.

-- 
10299: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10299
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Joakim Hårsman <joakim.harsman <at> gmail.com>
Cc: lekktu <at> gmail.com, 10299-done <at> debbugs.gnu.org
Subject: Re: bug#10299: Emacs doesn't handle Unicode characters in keyboard
	layout on MS Windows
Date: Fri, 10 Aug 2012 09:56:35 +0300
> Date: Wed, 8 Aug 2012 20:54:00 +0200
> From: Joakim Hårsman <joakim.harsman <at> gmail.com>
> Cc: lekktu <at> gmail.com, 10299 <at> debbugs.gnu.org
> 
> Works fine on Windows 7 as well.

Great, I committed the changes as trunk revision 109542.


[Message part 3 (message/rfc822, inline)]
From: Joakim Hårsman <joakim.harsman <at> gmail.com>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: Emacs doesn't handle Unicode characters in keyboard layout on MS
	Windows
Date: Wed, 14 Dec 2011 21:39:28 +0100
In MS Windows, users can easily create custom keyboard layouts using
Microsoft Keyboard Creator [1].

This can be used to for example to make typing certain Unicode symbols
easier (like Greek letters when typing mathematical formula), and is
very useful.

However, Emacs doesn't seem to handle the case when the keyboard
layout contains characters not available in the ANSI code page, and
just prints a question mark character instead. For certain characters,
a character that is visually similar to the actual character is
printed instead of a question mark. For example, if I use a layout
where AltGr+O produces U+2218 RING OPERATOR, Emacs prints U+00B0
DEGREE SYMBOL instead. The degree symbol is available in Windows 1252,
the default ANSI code page on my system, but the ring operator isn't.
However, if the layout maps AltGr+R to U+0220A SMALL ELEMENT OF, Emacs
just prints a question mark, presumably because Windows 1252 doesn't
contain a reasonable replacement for that character.

I can reproduce this on Emacs 24.0.92.1 (i386-mingw-nt5.1.2600) even
when started with -q to skip any customization.

I'd be happy to help debug this but I have no idea where to even
start. Is there an easy way to find out if it's the C code that
clobbers the character or if it happens in lisp for example?

[1]: http://msdn.microsoft.com/en-us/goglobal/bb964665



This bug report was last modified 12 years and 289 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.