From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: Filename encoding Date: Thu, 16 Jan 2014 00:29:06 +0100 Message-ID: <87a9ewu8n1.fsf@gnu.org> References: <20140115125246.53fc72c7@bother.homenet> <87bnzdun74.fsf@netris.org> <20140115195051.3272023c@bother.homenet> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1389833014 8720 80.91.229.3 (16 Jan 2014 00:43:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jan 2014 00:43:34 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jan 16 01:43:40 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 1W3b3c-0003OH-Co for guile-user@m.gmane.org; Thu, 16 Jan 2014 01:43:40 +0100 Original-Received: from localhost ([::1]:57867 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3b3c-000758-0F for guile-user@m.gmane.org; Wed, 15 Jan 2014 19:43:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Ztl-0006sI-Ku for guile-user@gnu.org; Wed, 15 Jan 2014 18:29:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3Ztf-0002nt-Lb for guile-user@gnu.org; Wed, 15 Jan 2014 18:29:25 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:51339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Ztf-0002ni-Ed for guile-user@gnu.org; Wed, 15 Jan 2014 18:29:19 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W3Ztd-0001pU-Ct for guile-user@gnu.org; Thu, 16 Jan 2014 00:29:17 +0100 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Jan 2014 00:29:17 +0100 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Jan 2014 00:29:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 =?utf-8?Q?Niv=C3=B4se?= an 222 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:wqkYCH8cqQT/nAGtYK/iVTH/9cE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-Mailman-Approved-At: Wed, 15 Jan 2014 19:43:01 -0500 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:11023 Archived-At: Chris Vine skribis: > So far as filenames are concerned, > this seems to me to be something for which a fluid would be just the > thing - it could default to the locale encoding but a user could set it > to something else. I suppose command lines and environmental variables > are less problematic because they are usually local to a particular > machine, although that may not necessarily be so true these days for > command lines. I makes some sense to have a fluid for that. That said, it’s not so great either: for each Unicode-capable library in use, people would end up define $THELIB_FILE_NAME_ENCODING. Apart from GLib, I think language run-time supports (Python, etc.) typically assume locale encoding too, no? Does anyone know of systems where the file name encoding is commonly different from locale encoding? Is it the case on Windows? Ludo’.