unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: achurch@achurch.org (Andrew Church)
To: bug-gnu-emacs@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	[thread overview]
Message-ID: <483cd4d5.53132@msgid.achurch.org> (raw)

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@achurch.org
    http://achurch.org/







             reply	other threads:[~2008-05-28  3:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-28  3:42 Andrew Church [this message]
2008-05-28 19:07 ` bug#330: Emacs 22.2: iso-2022-jp fails to encode some valid characters Eli Zaretskii
2011-09-11 17:05   ` Lars Magne Ingebrigtsen

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=483cd4d5.53132@msgid.achurch.org \
    --to=achurch@achurch.org \
    --cc=330@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /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).