guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile can't find a chinese named file


From: David Kastrup
Subject: Re: guile can't find a chinese named file
Date: Mon, 30 Jan 2017 18:04:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

address@hidden (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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]