guile-user
[Top][All Lists]
Advanced

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

Re: Filename encoding


From: Ludovic Courtès
Subject: Re: Filename encoding
Date: Thu, 16 Jan 2014 14:03:05 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Eli Zaretskii <address@hidden> skribis:

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

Ludo’.



reply via email to

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