> From: l...@gnu.org (Ludovic Courtès)
> Cc: guile-user@gnu.org
> Date: Thu, 16 Jan 2014 14:03:05 +0100
> 
> Eli Zaretskii <e...@gnu.org> skribis:
> 
> >> From: l...@gnu.org (Ludovic Courtès)
> >> Date: Thu, 16 Jan 2014 00:29:06 +0100
> >> 
> >> Does anyone know of systems where the file name encoding is commonly
> >> different from locale encoding?  Is it the case on Windows?
> >
> > Windows stores file names on disk encoded in UTF-16, but converts them
> > to the current codepage if you use Posix-style interfaces like 'open'
> > and 'rename'.
> 
> So in practice, given that Guile uses the POSIX interfaces, the
> assumption that file names are in the locale encoding is valid on
> Windows.

For now, yes.  But I was under the impression that this thread
discusses future designs, and for that, I don't recommend to rely on
this situation to remain for long.  After all, providing wrappers for
a few Posix interfaces is not such a hard job.


Reply via email to