[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile can't find a chinese named file
From: |
Eli Zaretskii |
Subject: |
Re: guile can't find a chinese named file |
Date: |
Thu, 16 Feb 2017 17:47:54 +0200 |
> From: Marko Rauhamaa <address@hidden>
> Cc: address@hidden, address@hidden
> Date: Thu, 16 Feb 2017 09:02:09 +0200
>
> 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.
Of course. But unlike on Unix, it is much harder to create such file
names, because Windows APIs won't allow that. You probably will have
to access the directory entries on a very low level.
Anyway, this is not the issue at hand. I only mentioned UTF-16
encoding on Windows because Tomás thought file names on Windows can be
encoded in several different encodings.
- Re: guile can't find a chinese named file, (continued)
- Re: guile can't find a chinese named file, Eli Zaretskii, 2017/02/17
- Re: guile can't find a chinese named file, Eli Zaretskii, 2017/02/17
- Re: guile can't find a chinese named file, Eli Zaretskii, 2017/02/16
- Re: guile can't find a chinese named file, Marko Rauhamaa, 2017/02/16
- Re: guile can't find a chinese named file, Eli Zaretskii, 2017/02/16
- Re: guile can't find a chinese named file, Mike Gran, 2017/02/16
- Re: guile can't find a chinese named file, David Kastrup, 2017/02/16
- Re: guile can't find a chinese named file, Marko Rauhamaa, 2017/02/16
- Re: guile can't find a chinese named file,
Eli Zaretskii <=
- Re: guile can't find a chinese named file, tomas, 2017/02/15
- Re: guile can't find a chinese named file, Eli Zaretskii, 2017/02/16
- Re: guile can't find a chinese named file, David Kastrup, 2017/02/14
- Re: guile can't find a chinese named file, tomas, 2017/02/15
- Re: guile can't find a chinese named file, Marko Rauhamaa, 2017/02/15
- Re: guile can't find a chinese named file, Andy Wingo, 2017/02/26
- Re: guile can't find a chinese named file, David Kastrup, 2017/02/27
- Re: guile can't find a chinese named file, Andy Wingo, 2017/02/27
- Re: guile can't find a chinese named file, David Kastrup, 2017/02/27
- Re: guile can't find a chinese named file, Andy Wingo, 2017/02/27