guile-user
[Top][All Lists]
Advanced

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

Re: Filename encoding


From: Eli Zaretskii
Subject: Re: Filename encoding
Date: Thu, 16 Jan 2014 05:55:51 +0200

> From: Mark H Weaver <address@hidden>
> Date: Wed, 15 Jan 2014 16:47:45 -0500
> Cc: address@hidden
> 
> > All guile needs to know is what encoding the person creating the
> > filesystem has adopted in naming files and which it needs to map to.
> 
> Right, but how does it know that?  The closest thing we have to a
> standard way to tell programs what encoding to use is via the locale.  I
> believe that's what most existing internationalized programs do, anyway.

You can take the defaults from the locale, but you need to allow the
user or application to change those defaults.

> It seems to me that each system must standardize on a single encoding
> for all filenames on that system, and the locale encoding is the defacto
> standard way of telling programs what that is.

But I can, for example, mount a file system from a different locale
which uses different encoding.  No need to prevent me from using file
names on that file system.



reply via email to

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