From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.devel Subject: Re: Cyrillic vs UTF-8 Date: Sat, 26 Apr 2003 16:10:40 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051366375 30872 80.91.224.249 (26 Apr 2003 14:12:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 26 Apr 2003 14:12:55 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Apr 26 16:12:53 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 199QQ9-00081h-00 for ; Sat, 26 Apr 2003 16:12:53 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 199QXN-0008Sv-00 for ; Sat, 26 Apr 2003 16:20:21 +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 199QQC-0002hi-03 for emacs-devel@quimby.gnus.org; Sat, 26 Apr 2003 10:12:56 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 199QPn-0001wy-00 for emacs-devel@gnu.org; Sat, 26 Apr 2003 10:12:31 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 199QOb-0000ZE-00 for emacs-devel@gnu.org; Sat, 26 Apr 2003 10:11:18 -0400 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 199QOA-0000PL-00; Sat, 26 Apr 2003 10:10:50 -0400 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.9/8.12.9) with ESMTP id h3QEAe07009529 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sat, 26 Apr 2003 16:10:41 +0200 Original-To: rms@gnu.org Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:030426:rms@gnu.org:780c429efa8b91ae X-Hashcash: 0:030426:rms@gnu.org:780c429efa8b91ae X-Payment: hashcash 1.2 0:030426:emacs-devel@gnu.org:85cc3625590e205a X-Hashcash: 0:030426:emacs-devel@gnu.org:85cc3625590e205a In-Reply-To: (Richard Stallman's message of "Sat, 26 Apr 2003 09:44:54 -0400") User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3.50 (gnu/linux) 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:13477 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13477 Richard Stallman writes: > It seems binary is preferred over utf-8 and utf-16-* in > coding-category-list. This seems extremely conservative. I guess it > means UTF-8 can never be autodetected by default? > > That certainly seems undesirable. Unless there is a specific reason > why it needs to be this way, I agree with you that we should raise > the priority of utf-8 and utf-16. Kenichi Handa said that moving utf-8 earlier would make all files be regarded as UTF-8, so until that is fixed I agree moving it higher up in the hierarchy is bad. But I'm not sure I understand the situation completely anyway. When I run emacs in an UTF-8 locale (LANG=sv_SE.UTF-8), which I usually do, the utf-8 coding system _is_ first in coding-category-list, yet I have no problems reading iso-8859-1 files. They aren't regarded as UTF-8.