From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.devel Subject: Re: iso-8859-1 and non-latin-1 chars Date: 15 Dec 2002 16:24:43 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200212090608.PAA24291@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039969626 21359 80.91.224.249 (15 Dec 2002 16:27:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 15 Dec 2002 16:27:06 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Nbbb-0005YH-00 for ; Sun, 15 Dec 2002 17:27:03 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18Nbof-0008AQ-00 for ; Sun, 15 Dec 2002 17:40:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Nba6-0005Jc-01 for emacs-devel@quimby.gnus.org; Sun, 15 Dec 2002 11:25:30 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18NbZe-0005Gt-00 for emacs-devel@gnu.org; Sun, 15 Dec 2002 11:25:02 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18NbZc-0005Gg-00 for emacs-devel@gnu.org; Sun, 15 Dec 2002 11:25:01 -0500 Original-Received: from albion.dl.ac.uk ([148.79.80.39]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18NbZZ-0005EN-00; Sun, 15 Dec 2002 11:24:57 -0500 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 18NbZL-0003Gp-00; Sun, 15 Dec 2002 16:24:43 +0000 Original-To: Kenichi Handa Original-Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-cc: rms@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10145 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10145 Kenichi Handa writes: > Even if we write out a proper escape seqeucne for > unencodable characters in a file, those people who are not > familiar with handling coding systems can't read the file > correctly. If he reads it without C-x RET c, it will be > read as iso-2022-7bit or something like that, not as > iso-latin-1-with-esc. If he doesn't notice it, he will be > in a big confusion. If he reads it with C-x RET c > iso-latin-1, the escape sequence is not decoded, thus he > will see raw ESC codes. Sure, but the cases I'm particularly thinking of are actually programs, not interactive use. I think it's better to get escape codes, which can be reconstructed, than to get `?', which can't. I realize this won't work generally, and will be different for Emacs 22. In Emacs 22, it would be reasonable to do what yudit does (as far as I remember) and write representations of the unicodes involved as \uxxxx or similar. > So, my conclusion was that writing out those escape > sequences not only violates the commonly accepted concept > about a coding system, What concept do you mean, exactly? > but also doesn't help people that much.