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: Wed, 15 Jan 2014 21:02:59 +0200 Message-ID: <834n553w64.fsf@gnu.org> References: <20140115125246.53fc72c7@bother.homenet> <87bnzdun74.fsf@netris.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1389812602 3461 80.91.229.3 (15 Jan 2014 19:03:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jan 2014 19:03:22 +0000 (UTC) Cc: guile-user@gnu.org To: Mark H Weaver Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Jan 15 20:03:29 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 1W3VkM-0003dO-Rw for guile-user@m.gmane.org; Wed, 15 Jan 2014 20:03:26 +0100 Original-Received: from localhost ([::1]:56741 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3VkM-00028L-Fr for guile-user@m.gmane.org; Wed, 15 Jan 2014 14:03:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Vk7-00027Z-MP for guile-user@gnu.org; Wed, 15 Jan 2014 14:03:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3Vk1-0003yQ-64 for guile-user@gnu.org; Wed, 15 Jan 2014 14:03:11 -0500 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:53473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3Vk0-0003yE-TU for guile-user@gnu.org; Wed, 15 Jan 2014 14:03:05 -0500 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0MZG00I00HVXJY00@mtaout24.012.net.il> for guile-user@gnu.org; Wed, 15 Jan 2014 21:03:08 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MZG00FB6I98PE50@mtaout24.012.net.il>; Wed, 15 Jan 2014 21:03:08 +0200 (IST) In-reply-to: <87bnzdun74.fsf@netris.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.180 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:11008 Archived-At: > From: Mark H Weaver > Date: Wed, 15 Jan 2014 13:14:39 -0500 > Cc: guile-user@gnu.org > > My hope is that this will become less of an issue over time, as systems > increasingly standardize on UTF-8. I see no other good solution. > > Thoughts? MS-Windows filesystems will not standardize on UTF-8 in any observable future. Likewise, in some Far Eastern cultures, non-UTF encoding are still widely used. An "other good solution" is to decode file names into Unicode based representation (which can be UTF-8) for internal handling, then encode them back into the locale-specific encoding when passing them to system calls and library functions that receive file names. This is what Emacs does.