GNU bug report logs - #330
Emacs 22.2: iso-2022-jp fails to encode some valid characters

Previous Next

Package: emacs;

Reported by: achurch <at> achurch.org (Andrew Church)

Date: Wed, 28 May 2008 03:50:03 UTC

Severity: normal

Tags: moreinfo

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: achurch <at> achurch.org (Andrew Church)
To: bug-gnu-emacs <at> gnu.org
Subject: bug#330: Emacs 22.2: iso-2022-jp fails to encode some valid characters
Date: Wed, 28 May 2008 12:42:38 JST
The iso-2022-jp coding system in Emacs 22.2 seems to fail to encode
certain characters which are in fact valid in that coding system.  For
example, Unicode character U+2606 WHITE STAR encodes to 0x21 0x79 in
ISO-2022-JP (JIS X 0208), but when one attempts to save a buffer
containing this character, Emacs complains about being unable to encode
that character, and prompts the user to select a different coding system.
The same is true for U+266A EIGHTH NOTE (0x22 0x76), and possibly others.

I'd like to be able to offer a patch, but I haven't been able to locate
where the encoding mappings are defined in the Emacs source code.  If you
can point me in the right direction, I'll see what I can do.

  --Andrew Church
    achurch <at> achurch.org
    http://achurch.org/





This bug report was last modified 13 years and 312 days ago.

Previous Next


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