> From: Mark H Weaver <m...@netris.org> > Date: Wed, 15 Jan 2014 16:47:45 -0500 > Cc: guile-user@gnu.org > > > 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.