From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: David Kastrup Newsgroups: gmane.lisp.guile.user Subject: Re: guile can't find a chinese named file Date: Mon, 30 Jan 2017 18:04:32 +0100 Organization: Organization?!? Message-ID: <87d1f4qy1r.fsf@fencepost.gnu.org> References: <874m0gd3z4.fsf@gnu.org> <87tw8gr1ky.fsf@fencepost.gnu.org> <87y3xsa4b6.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1485795950 21751 195.159.176.226 (30 Jan 2017 17:05:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Jan 2017 17:05:50 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jan 30 18:05:46 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYFOh-0005Xd-D1 for guile-user@m.gmane.org; Mon, 30 Jan 2017 18:05:43 +0100 Original-Received: from localhost ([::1]:34018 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYFOm-00036F-Ty for guile-user@m.gmane.org; Mon, 30 Jan 2017 12:05:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYFNm-0002Ux-66 for guile-user@gnu.org; Mon, 30 Jan 2017 12:04:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYFNj-0004Hc-39 for guile-user@gnu.org; Mon, 30 Jan 2017 12:04:46 -0500 Original-Received: from [195.159.176.226] (port=45954 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cYFNi-0004HC-To for guile-user@gnu.org; Mon, 30 Jan 2017 12:04:43 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cYFNb-0003Fq-3l for guile-user@gnu.org; Mon, 30 Jan 2017 18:04:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@blaine.gmane.org X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw Cancel-Lock: sha1:e90CR9PPy7YFPWELXUpy8JzB1Ac= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.lisp.guile.user:13143 Archived-At: ludo@gnu.org (Ludovic Courtès) writes: [...] > However, in 2.0, the current locale is *not* installed; you have to > either call ‘setlocale’ explicitly (like in C), or set this environment > variable (info "(guile) Environment Variables"): > > GUILE_INSTALL_LOCALE=1 > > When you do that (and this will be the default in 2.2), things work as > expected: But shouldn't that be done temporarily by default when processing the command line? Or alternatively, shouldn't Guile just pass the command line byte-transparently to the file open calls? It seems strange that Guile is unable to just pass what it received to the file open call: if it is in 8bit-mode, this should work, and if it is in UTF-8 mode (and the error messages suggest that it is), this should work as well. -- David Kastrup