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: 19 Dec 2002 22:35:46 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200212090608.PAA24291@etlken.m17n.org> <200212160042.JAA03616@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 1040337545 12715 80.91.224.249 (19 Dec 2002 22:39:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 19 Dec 2002 22:39:05 +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 18P9Jo-0003Id-00 for ; Thu, 19 Dec 2002 23:39:04 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18P9L8-0004b8-00 for ; Thu, 19 Dec 2002 23:40:26 +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 18P9IE-00085p-08 for emacs-devel@quimby.gnus.org; Thu, 19 Dec 2002 17:37:26 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18P9HL-0007sd-00 for emacs-devel@gnu.org; Thu, 19 Dec 2002 17:36:31 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18P9Gn-0007Yw-00 for emacs-devel@gnu.org; Thu, 19 Dec 2002 17:35:58 -0500 Original-Received: from albion.dl.ac.uk ([148.79.80.39]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18P9Gf-0007Uy-00; Thu, 19 Dec 2002 17:35:49 -0500 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 18P9Gc-0008Ei-00; Thu, 19 Dec 2002 22:35:46 +0000 Original-To: Kenichi Handa Original-Lines: 19 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:10293 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10293 Kenichi Handa writes: > Yes, it's better for Emacs, but not for the other programs > (e.g. ispell). And such Emacs Lisp applications that use > wrong coding system should be fixed anyway. Yes, my point is that ispell should be fixed, but people are avoiding the issue. Other programs allow users to set a coding system for some file and they sometimes set it wrongly; I think I mentioned BBDB initially as a real example. > > What concept do you mean, exactly? > > For instance, the MIME charset iso-8859-1 can encode Latin-1 > chars only, and it's stateless, no escape sequences. But the issue is what happens when you tell them to encode something they can't (safely) encode. They either have to produce some more-or-less arbitrary result or to arrange to signal an error.