This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: cygwin 1.7.0 and special filename chars


 > Apparently my understanding of FAT is wrong then.  
 > Brian 

FAT stores Unicode on disk, if necessary, as part of the "long name" support.
That is, if a name happens to be 8.3, both in length and character set "etc.",
it occupies just one "normal" directory entry.
If a name is not 8.3, either in length or character set "etc.", it is stored as a "long name".

"etc." as in, at least, "dot location" -- multiple dots and leading dots are not "8.3".

C:\>dir /x
08/24/2008  12:02 PM              F66E2~1      .f
08/24/2008  12:02 PM              112E5D~1.1   1.1.1
08/24/2008  12:02 PM              FO3368~1     .fo
08/24/2008  12:02 PM              FOO~1        .foo

(notice how "short names" can be much longer than "long names").

In fact, the Win9x "installable file system" interfaces traffic in Unicode.

The referenced email describing 1.7 lists some special characters that are
now allowed, but it doesn't mention question mark.
Perhaps a good description would be LIKE: "all 8 bit characters except forward slash and nul"??
(or, whatever, all 8 bit characters except )

 - Jay

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]