From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#330: Emacs 22.2: iso-2022-jp fails to encode some valid characters Date: Wed, 28 May 2008 22:07:38 +0300 Message-ID: References: <483cd4d5.53132@msgid.achurch.org> Reply-To: Eli Zaretskii , 330@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1212003130 7952 80.91.229.12 (28 May 2008 19:32:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 May 2008 19:32:10 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, bug-submit-list@donarmstrong.com To: Andrew Church , 330@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 28 21:32:50 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K1RO6-00029M-HQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 May 2008 21:32:42 +0200 Original-Received: from localhost ([127.0.0.1]:56249 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1RNL-0001Uf-56 for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 May 2008 15:31:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1RNG-0001TU-9s for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 15:31:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1RND-0001Q1-EO for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 15:31:49 -0400 Original-Received: from [199.232.76.173] (port=39036 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1RND-0001Pt-9P for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 15:31:47 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52536) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K1RNC-0008O8-GP for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 15:31:47 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4SJViPP025816; Wed, 28 May 2008 12:31:44 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m4SJF5Hp021311; Wed, 28 May 2008 12:15:05 -0700 X-Loop: don@donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 28 May 2008 19:15:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 330 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 330-submit@emacsbugs.donarmstrong.com id=B330.121200169819948 (code B ref 330); Wed, 28 May 2008 19:15:05 +0000 Original-Received: (at 330) by emacsbugs.donarmstrong.com; 28 May 2008 19:08:18 +0000 Original-Received: from mtaout1.012.net.il (mtaout1.012.net.il [84.95.2.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4SJ889F019935 for <330@emacsbugs.donarmstrong.com>; Wed, 28 May 2008 12:08:09 -0700 Original-Received: from HOME-C4E4A596F7 ([83.130.219.40]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K1L0033SF594CL0@i-mtaout1.012.net.il> for 330@emacsbugs.donarmstrong.com; Wed, 28 May 2008 22:22:22 +0300 (IDT) In-reply-to: <483cd4d5.53132@msgid.achurch.org> X-012-Sender: halo1@inter.net.il X-CrossAssassin-Score: 2 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Wed, 28 May 2008 15:31:49 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18158 Archived-At: > From: achurch@achurch.org (Andrew Church) > Date: Wed, 28 May 2008 12:42:38 JST > Cc: > > 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. What does Emacs tell about these characters if you go to them and type "C-u C-x ="? Compare that to what Emacs displays for the same characters in an iso-2022-jp encoded file, and you might have a hint as to the nature of the problem.