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: Marko Rauhamaa
Subject: Re: guile can't find a chinese named file
Date: Wed, 15 Feb 2017 09:15:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Chris Vine <address@hidden>:

> On Tue, 14 Feb 2017 21:52:01 +0000 (UTC)
> Mike Gran <address@hidden> wrote:
>> True. Linux should follow OpenBSD and make all locales UTF-8.
>
> Filenames and locales are not necessarily related.

Linux *could* force that reality.

> When you access a networked file system, you get the filename encoding
> you are given, which may or may not be the same as the particular
> locale encoding on your particular machine on one particular day, and
> may or may not be a unicode encoding.

Linux *could* provide a seamless translation, or it *could* refuse to
mount filesystems that don't comply with its requirements.

> Linux is capable of treating filenames as just a null-terminated array
> of bytes with '/' as the directory separator. It is encoding agnostic,
> and that works just fine.

Bottom line: that's just the way things are in Linux. Programming
languages like Guile should not try to create another abstraction layer
on top of it.


Marko



reply via email to

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