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: Cyrillic vs UTF-8 Date: Tue, 29 Apr 2003 09:49:20 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200304291349.h3TDnKVt005184@rum.cs.yale.edu> References: <1858-Fri25Apr2003194023+0300-eliz@elta.co.il> <200304282149.h3SLnxSU002624@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1051624544 20276 80.91.224.249 (29 Apr 2003 13:55:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 29 Apr 2003 13:55:44 +0000 (UTC) Cc: Stefan Monnier Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Apr 29 15:55:42 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19AVZh-0005EB-00 for ; Tue, 29 Apr 2003 15:55:13 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19AViN-0001cp-00 for ; Tue, 29 Apr 2003 16:04:11 +0200 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 19AVag-0003e0-0B for emacs-devel@quimby.gnus.org; Tue, 29 Apr 2003 09:56:14 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19AVYm-0003Cq-00 for emacs-devel@gnu.org; Tue, 29 Apr 2003 09:54:16 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19AVWO-00025u-00 for emacs-devel@gnu.org; Tue, 29 Apr 2003 09:51:49 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19AVUA-0001Kt-00 for emacs-devel@gnu.org; Tue, 29 Apr 2003 09:49:30 -0400 Original-Received: from rum.cs.yale.edu (localhost [127.0.0.1]) by rum.cs.yale.edu (8.12.8/8.12.8) with ESMTP id h3TDnLx6005186; Tue, 29 Apr 2003 09:49:21 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.12.8/8.12.8/Submit) id h3TDnKVt005184; Tue, 29 Apr 2003 09:49:20 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Simon Josefsson Original-cc: Eli Zaretskii Original-cc: emacs-devel@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:13547 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13547 > >> Can't we move binary down below UTF-8 in CVS? IMHO we should move > >> UTF-8 earlier still, since determining whether data is UTF-8 or not > >> can be done with good probability. Prefering binary over UTF-8 seems > > > > Agreed, but I think one of the problems is that the preference-ordering > > is the same for load-time-detection as it is for save-time-detection, > > so if you move utf-8 up for detection you end up saving all new files > > in utf-8 which is not OK in non-utf-8 locales. > > This sounds serious in theory, but I was unable to make emacs behave > unexpectedly in practice. Do you have an example? The problem only appears if you move utf-8 to the first spot. Moving it to the first spot otherwise makes sense since auto-detection of utf-8 is about as reliable as it gets. Stefan