From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: file-attribute on certain Chinese filenames failed Date: Sat, 17 Feb 2007 14:22:58 +0200 Message-ID: References: <45c9d948.5c6acfa4.4c9b.ffffeb01@mx.google.com> <17873.21871.414000.223392@MJ.T40.T40> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1171714997 12511 80.91.229.12 (17 Feb 2007 12:23:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Feb 2007 12:23:17 +0000 (UTC) Cc: emacs-devel@gnu.org, handa@m17n.org To: MJ Chan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 17 13:23:11 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HIOat-00028I-6i for ged-emacs-devel@m.gmane.org; Sat, 17 Feb 2007 13:23:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HIOas-0002kU-DV for ged-emacs-devel@m.gmane.org; Sat, 17 Feb 2007 07:23:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HIOai-0002kF-4f for emacs-devel@gnu.org; Sat, 17 Feb 2007 07:23:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HIOaf-0002k3-PD for emacs-devel@gnu.org; Sat, 17 Feb 2007 07:22:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HIOaf-0002k0-Je for emacs-devel@gnu.org; Sat, 17 Feb 2007 07:22:57 -0500 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HIOaf-0004id-5x for emacs-devel@gnu.org; Sat, 17 Feb 2007 07:22:57 -0500 Original-Received: from HOME-C4E4A596F7 ([81.5.50.212]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id GBH92247 (AUTH halo1); Sat, 17 Feb 2007 14:22:52 +0200 (IST) In-reply-to: <17873.21871.414000.223392@MJ.T40.T40> (message from MJ Chan on Tue, 13 Feb 2007 01:06:39 -0500) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:66487 Archived-At: > Date: Tue, 13 Feb 2007 01:06:39 -0500 > From: MJ Chan > Cc: emacs-devel@gnu.org > > The same code you used did not cause write-region to fail on my > XP. That is, the file "·|" was written correctly. But again, > file-attributes returned nil. Could you perhaps step with a debugger into the function `stat' (in w32.c) and see where it fails in this case? I tried to reproduce this on Windows, but couldn't: file-attributes works for me with non-ASCII file names. However, I don't have access to a Chinese Windows system.