From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: status of utf-8.el, etc [Re: Several serious problems] Date: Mon, 30 Sep 2002 09:29:08 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200209301329.g8UDT8d13183@rum.cs.yale.edu> References: <200208190748.QAA14278@etlken.m17n.org> <200208291325.WAA03596@etlken.m17n.org> <200208291732.g7THWRU11411@rum.cs.yale.edu> <200209250701.QAA10989@etlken.m17n.org> <200209300909.SAA05081@etlken.m17n.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033392698 4220 127.0.0.1 (30 Sep 2002 13:31:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 30 Sep 2002 13:31:38 +0000 (UTC) Cc: d.love@dl.ac.uk, rms@gnu.org, monnier+gnu/emacs@rum.cs.yale.edu, keichwa@gmx.net, 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 17w0e8-00015w-00 for ; Mon, 30 Sep 2002 15:31:36 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17w1Np-0007VK-00 for ; Mon, 30 Sep 2002 16:18:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17w0eO-0005gU-00; Mon, 30 Sep 2002 09:31:52 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17w0bw-0005Za-00 for emacs-devel@gnu.org; Mon, 30 Sep 2002 09:29:20 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17w0bu-0005ZJ-00 for emacs-devel@gnu.org; Mon, 30 Sep 2002 09:29:19 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17w0bs-0005Ys-00; Mon, 30 Sep 2002 09:29:16 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g8UDT8d13183; Mon, 30 Sep 2002 09:29:08 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Kenichi Handa Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8259 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8259 > > is there a reason you'd want to avoid it? > > One may or may not want select-safe-coding-system to decide > utf-8 as the default for a buffer that contains CJK charsets > and etc. I'm not sure. select-safe-coding-system is supposed to find a coding system that's safe. If utf-8 is safe, then it should definitely be among the ones that might be selected. We may want to make the selection among the safe encodings more flexible (I recently pointed out that I want to try utf-8 first when decoding but want to try latin-1 first when encoding, for example), but it shouldn't be done indirectly by making it impossible to save CJK chars into a utf-8 file. I.e. for the same reason that unify-8859-on-encoding-mode has no reason to ever be turned off, translation of CJK into utf-8 upon encoding should never be turned off either. Stefan