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 18:09:33 +0200 Message-ID: <83fvon3o3m.fsf@gnu.org> References: <20140115125246.53fc72c7@bother.homenet> <87bnzdun74.fsf@netris.org> <20140115195051.3272023c@bother.homenet> <87a9ewu8n1.fsf@gnu.org> <83ha9437al.fsf@gnu.org> <8738koaxkm.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1389888614 10093 80.91.229.3 (16 Jan 2014 16:10:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jan 2014 16:10:14 +0000 (UTC) Cc: guile-user@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jan 16 17:10:20 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 1W3pWN-0008Kk-0C for guile-user@m.gmane.org; Thu, 16 Jan 2014 17:10:19 +0100 Original-Received: from localhost ([::1]:33517 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3pWM-0008CC-Ge for guile-user@m.gmane.org; Thu, 16 Jan 2014 11:10:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3pW5-00087Z-CK for guile-user@gnu.org; Thu, 16 Jan 2014 11:10:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3pVz-00039n-Hb for guile-user@gnu.org; Thu, 16 Jan 2014 11:10:01 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:54942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3pVz-00039d-8p; Thu, 16 Jan 2014 11:09:55 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MZI00K004PCNR00@a-mtaout20.012.net.il>; Thu, 16 Jan 2014 18:09:35 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MZI00KHD4VZIB50@a-mtaout20.012.net.il>; Thu, 16 Jan 2014 18:09:35 +0200 (IST) In-reply-to: <8738koaxkm.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:11031 Archived-At: > From: ludo@gnu.org (Ludovic Court=C3=A8s) > Cc: guile-user@gnu.org > Date: Thu, 16 Jan 2014 14:03:05 +0100 >=20 > Eli Zaretskii skribis: >=20 > >> From: ludo@gnu.org (Ludovic Court=C3=A8s) > >> Date: Thu, 16 Jan 2014 00:29:06 +0100 > >>=20 > >> Does anyone know of systems where the file name encoding is comm= only > >> different from locale encoding? Is it the case on Windows? > > > > Windows stores file names on disk encoded in UTF-16, but converts= them > > to the current codepage if you use Posix-style interfaces like 'o= pen' > > and 'rename'. >=20 > So in practice, given that Guile uses the POSIX interfaces, the > assumption that file names are in the locale encoding is valid on > Windows. For now, yes. But I was under the impression that this thread discusses future designs, and for that, I don't recommend to rely on this situation to remain for long. After all, providing wrappers for a few Posix interfaces is not such a hard job.