From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.lisp.guile.user Subject: Re: Filename encoding Date: Thu, 16 Jan 2014 05:55:51 +0200 Message-ID: <83iotk37i0.fsf@gnu.org> References: <20140115125246.53fc72c7@bother.homenet> <87bnzdun74.fsf@netris.org> <20140115195051.3272023c@bother.homenet> <87iotksyri.fsf@netris.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1389844570 28670 80.91.229.3 (16 Jan 2014 03:56:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jan 2014 03:56:10 +0000 (UTC) Cc: guile-user@gnu.org To: Mark H Weaver Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jan 16 04:56:16 2014 Return-path: Envelope-to: guile-user@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 1W3e3z-0005nA-Uk for guile-user@m.gmane.org; Thu, 16 Jan 2014 04:56:16 +0100 Original-Received: from localhost ([::1]:58281 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3e3z-0000so-Ku for guile-user@m.gmane.org; Wed, 15 Jan 2014 22:56:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3e3n-0000sU-99 for guile-user@gnu.org; Wed, 15 Jan 2014 22:56:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3e3g-00013J-9Q for guile-user@gnu.org; Wed, 15 Jan 2014 22:56:03 -0500 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:43493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3e3g-00013D-1K for guile-user@gnu.org; Wed, 15 Jan 2014 22:55:56 -0500 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0MZH00I006AV9Q00@mtaout28.012.net.il> for guile-user@gnu.org; Thu, 16 Jan 2014 05:56:50 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MZH00EUJ6YQUL50@mtaout28.012.net.il>; Thu, 16 Jan 2014 05:56:50 +0200 (IST) In-reply-to: <87iotksyri.fsf@netris.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11026 Archived-At: > From: Mark H Weaver > Date: Wed, 15 Jan 2014 16:47:45 -0500 > Cc: guile-user@gnu.org > > > All guile needs to know is what encoding the person creating the > > filesystem has adopted in naming files and which it needs to map to. > > Right, but how does it know that? The closest thing we have to a > standard way to tell programs what encoding to use is via the locale. I > believe that's what most existing internationalized programs do, anyway. You can take the defaults from the locale, but you need to allow the user or application to change those defaults. > It seems to me that each system must standardize on a single encoding > for all filenames on that system, and the locale encoding is the defacto > standard way of telling programs what that is. But I can, for example, mount a file system from a different locale which uses different encoding. No need to prevent me from using file names on that file system.