From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Multibyte and unibyte file names Date: Sat, 26 Jan 2013 08:26:54 -0800 Organization: UCLA Computer Science Department Message-ID: <510403CE.5080704@cs.ucla.edu> References: <83ehhbn680.fsf@gnu.org> <83wqv2ldk1.fsf@gnu.org> <83obgel94c.fsf@gnu.org> <83k3r1lnlb.fsf@gnu.org> <83vcalj97s.fsf@gnu.org> <87vcak3ar1.fsf@uwakimon.sk.tsukuba.ac.jp> <83mwvwjib3.fsf@gnu.org> <87sj5o2j1b.fsf@uwakimon.sk.tsukuba.ac.jp> <83ham4jcbf.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1359217625 7104 80.91.229.3 (26 Jan 2013 16:27:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Jan 2013 16:27:05 +0000 (UTC) Cc: "Stephen J. Turnbull" , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 26 17:27:24 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tz8bC-0000ey-L3 for ged-emacs-devel@m.gmane.org; Sat, 26 Jan 2013 17:27:22 +0100 Original-Received: from localhost ([::1]:56765 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tz8au-0000ah-UD for ged-emacs-devel@m.gmane.org; Sat, 26 Jan 2013 11:27:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tz8ar-0000ac-T3 for emacs-devel@gnu.org; Sat, 26 Jan 2013 11:27:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tz8aq-0003LQ-Ps for emacs-devel@gnu.org; Sat, 26 Jan 2013 11:27:01 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:56859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tz8am-0003Ko-07; Sat, 26 Jan 2013 11:26:56 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 3774E39E810A; Sat, 26 Jan 2013 08:26:55 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PgoiGgGtpWtB; Sat, 26 Jan 2013 08:26:54 -0800 (PST) Original-Received: from [192.168.1.9] (pool-71-189-154-249.lsanca.fios.verizon.net [71.189.154.249]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id C23A539E8109; Sat, 26 Jan 2013 08:26:54 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 In-Reply-To: <83ham4jcbf.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 131.179.128.62 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156656 Archived-At: >> > > what you suggest is a large project that won't >> > > happen without a motivated individual. Given the overall "cannot >> > > happen on POSIX, so it's SEP" >> > >> > It can easily happen on POSIX systems, especially with removable media >> > or double-booting hosts. > If you look back at this thread, you will see that this is what I > tried to say, but was consistently told that Posix systems have no > such problems "in practice". I don't think Stephen and I were talking about the same thing. Stephen's reference to mojibake was talking about having various files scattered around the system, with file names using different encodings, and that can easily happen on POSIX systems. But as I understand it, we're not trying to solve that problem -- Emacs will see mojibake in that situation, and users will just have to deal with it. Regardless of whether the mojibake problem is present, Emacs is OK on a POSIX system without worrying about this issue, since file names are safe even if they're encoded in Shift-JIS or Big5. Moreover, a file name is safe even if it has some parts encoded in Shift-JIS and other parts encoded in Big5, so that it looks like gibberish on the screen. That is because none of these encoding usurp '/' or '.'.