From: Axel Liljencrantz <axel@liljencrantz.se>
Subject: emacs hangs on invalid unicode character
Date: Sun, 17 Apr 2005 16:17:19 +0200 [thread overview]
Message-ID: <1113747439.4454.11.camel@hellboy> (raw)
I've encountered a bug in emacs, that I wanted to share. I could not
find any mention of this issue in the mail archives.
If running emacs in terminal (non-X) mode, pressing Meta and a multibyte
UFT character such as 'å' (the swedish character looking like an 'a'
with a circle above it), emacs hangs and takes up 100% CPU activity.
AFAIK this only happens in UTF-8 locales. To reproduce this problem:
Set your OS to use a a Swedish keyboard layout.
Issue this in bash:
export LANG=en_US.UTF-8
emacs -nw
Now hold Meta and the key to the right of 'p' on your keyboard.
emacs should now be hanged.
The sequence generated på pressing 'å' is -61 -91. The sequence
generated by Meta-å is 27, -61, -91. I think this bug works for any
multi-byte character.
I've encountered this bug on many different platforms, including this
one:
Version: emacs version 21.3.1 (shipped with Fedora Core 3)
Platform: i386
OS: Fedora Core 3
Locale: en_US.UTF-8
--
Axel Liljencrantz <axel@liljencrantz.se>
next reply other threads:[~2005-04-17 14:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-17 14:17 Axel Liljencrantz [this message]
[not found] ` <E1DNFJA-0005Tz-Rn@fencepost.gnu.org>
2005-04-18 8:47 ` emacs hangs on invalid unicode character Axel Liljencrantz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1113747439.4454.11.camel@hellboy \
--to=axel@liljencrantz.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).