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:46:59 +0200 Message-ID: <83lhyg37ws.fsf@gnu.org> References: <20140115125246.53fc72c7@bother.homenet> <87bnzdun74.fsf@netris.org> <834n553w64.fsf@gnu.org> <87mwixrkt9.fsf@netris.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1389844037 23359 80.91.229.3 (16 Jan 2014 03:47:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jan 2014 03:47:17 +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:47:23 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 1W3dvO-0006hZ-47 for guile-user@m.gmane.org; Thu, 16 Jan 2014 04:47:22 +0100 Original-Received: from localhost ([::1]:58274 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3dvN-0007tM-Q9 for guile-user@m.gmane.org; Wed, 15 Jan 2014 22:47:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3dvA-0007t3-Up for guile-user@gnu.org; Wed, 15 Jan 2014 22:47:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3dv6-0006sf-1c for guile-user@gnu.org; Wed, 15 Jan 2014 22:47:08 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:38603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3dv5-0006sT-Pw for guile-user@gnu.org; Wed, 15 Jan 2014 22:47:03 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0MZH00P0060P1S00@mtaout29.012.net.il> for guile-user@gnu.org; Thu, 16 Jan 2014 05:47:56 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MZH00NUA6JWWX20@mtaout29.012.net.il>; Thu, 16 Jan 2014 05:47:56 +0200 (IST) In-reply-to: <87mwixrkt9.fsf@netris.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 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:11024 Archived-At: > From: Mark H Weaver > Cc: chris@cvine.freeserve.co.uk, guile-user@gnu.org > Date: Wed, 15 Jan 2014 16:34:26 -0500 > > Well, I understand that MS has standardized on UTF-16 (right?) Right. > but what matters from Guile's perspective is the encoding used by > the POSIX-style interfaces that Guile uses, such as 'open'. Do you > know what encoding that is on Windows? It's the current system codepage, a.k.a. "ANSI" encoding. But sticking to that means you can never support file names with characters outside of the current locale. So IMO this is not "good enough" for Guile. The POSIX-style interfaces issue can be worked around by providing wrapper functions. A few projects already do that: Emacs, msysgit.