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: Thu, 16 Feb 2017 09:02:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Eli Zaretskii <address@hidden>:

>> From: Marko Rauhamaa <address@hidden>
>> Cc: address@hidden,  address@hidden
>> Date: Thu, 16 Feb 2017 08:15:57 +0200
>> 
>> It is possible to have illegal Unicode even in Windows filenames, ie,
>> filenames not expressible using Guile's strings.
>
> Is it really possible? Can you show a code example that would create
> such an illegal filename on Windows?

I have rely on hearsay since I don't have Windows at my disposal:

   NTFS allows any sequence of 16-bit values for name encoding (file
   names, stream names, index names, etc.) except 0x0000.

   <URL: https://en.wikipedia.org/wiki/NTFS#Internals>

Not all sequences of 16-bit values are legal UTF-16.


Marko



reply via email to

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