From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: cvs-quickdir and UTF-8 encoded file names Date: Mon, 25 Aug 2003 10:14:16 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200308250114.KAA16654@etlken.m17n.org> References: <200308210136.KAA06356@etlken.m17n.org> <200308210626.PAA06725@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1061776443 26238 80.91.224.253 (25 Aug 2003 01:54:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2003 01:54:03 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Aug 25 03:54:01 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19r6YT-0005sI-00 for ; Mon, 25 Aug 2003 03:54:01 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19r6dn-0001Q4-00 for ; Mon, 25 Aug 2003 03:59:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19r6WA-0007Pi-M4 for emacs-devel@quimby.gnus.org; Sun, 24 Aug 2003 21:51:38 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19r6Va-0006sE-J3 for emacs-devel@gnu.org; Sun, 24 Aug 2003 21:51:02 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19r6Ul-0005Kr-4w for emacs-devel@gnu.org; Sun, 24 Aug 2003 21:50:43 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19r6S3-0002yE-9E for emacs-devel@gnu.org; Sun, 24 Aug 2003 21:47:23 -0400 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by mx20.gnu.org with esmtp (Exim 4.20) id 19r6P2-00089l-8m for emacs-devel@gnu.org; Sun, 24 Aug 2003 21:44:16 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6p2/3.7W-20010518204228) with ESMTP id h7P1EHu13545; Mon, 25 Aug 2003 10:14:17 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6/3.7W-20010823150639) with ESMTP id h7P1EH901085; Mon, 25 Aug 2003 10:14:17 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id KAA16654; Mon, 25 Aug 2003 10:14:16 +0900 (JST) Original-To: keichwa@gmx.net In-reply-to: (message from Karl Eichwalder on Thu, 21 Aug 2003 18:44:26 +0200) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16137 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16137 In article , Karl Eichwalder writes: >> Thank you for the info. Somehow, Emacs fails to detect the >> encoding of this file. Please send me that file by some >> 8-bit transparent way (e.g. uuencode, base64-encoding). > Here it comes: I found an invalid UTF-8 sequence at 279th line. It seems that the file name on this line is in ISO-8859-1, not UTF-8. Thus, Emacs failed to detect it as utf-8, and decoded it by raw-text. Perhaps the file Entries should be read by: (let ((coding-system-for-read (or default-file-name-coding-system file-name-coding-system))) ...) But, that file also contains "date" string. Does Emacs uses that part of information too? If so, how is it encoded? Does it contain only ASCII characters? Or, is it encoded in users locale? Are there any possibility that the encoding of file name is different from the encoding of date string in a normal situation? As my knowlege about CVS (and CVS handling code of emacs) is limitted, I'd like to ask some other person to fix this problem. Of course, I'll answer any Mule-related questions. --- Ken'ichi HANDA handa@m17n.org