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 14:03:05 +0100 Message-ID: <8738koaxkm.fsf@gnu.org> References: <20140115125246.53fc72c7@bother.homenet> <87bnzdun74.fsf@netris.org> <20140115195051.3272023c@bother.homenet> <87a9ewu8n1.fsf@gnu.org> <83ha9437al.fsf@gnu.org> 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 1389877711 31252 80.91.229.3 (16 Jan 2014 13:08:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jan 2014 13:08:31 +0000 (UTC) Cc: guile-user@gnu.org To: Eli Zaretskii Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Jan 16 14:08:37 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 1W3mgU-0007N3-Ms for guile-user@m.gmane.org; Thu, 16 Jan 2014 14:08:34 +0100 Original-Received: from localhost ([::1]:60728 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3mgU-0004q9-68 for guile-user@m.gmane.org; Thu, 16 Jan 2014 08:08:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41342) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3mgF-0004pt-DT for guile-user@gnu.org; Thu, 16 Jan 2014 08:08:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3mg9-0000F9-J0 for guile-user@gnu.org; Thu, 16 Jan 2014 08:08:19 -0500 Original-Received: from hera.aquilenet.fr ([141.255.128.1]:55611) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3mg3-0000Do-3W; Thu, 16 Jan 2014 08:08:07 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id F2C9C1B34; Thu, 16 Jan 2014 14:03:05 +0100 (CET) Original-Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f2kbkeHFJweQ; Thu, 16 Jan 2014 14:03:05 +0100 (CET) Original-Received: from pluto (unknown [193.50.110.185]) by hera.aquilenet.fr (Postfix) with ESMTPSA id BA0971B31; Thu, 16 Jan 2014 14:03:05 +0100 (CET) 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 In-Reply-To: <83ha9437al.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 16 Jan 2014 06:00:18 +0200") User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-Received-From: 141.255.128.1 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:11028 Archived-At: Eli Zaretskii skribis: >> 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 commonly >> 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 'open' > and 'rename'. So in practice, given that Guile uses the POSIX interfaces, the assumption that file names are in the locale encoding is valid on Windows. Ludo=E2=80=99.