3.Using Cygwin, Special filenames, Invalid filenames

Csaba Raduly rcsaba@gmail.com
Fri Jan 28 11:41:00 GMT 2011


2011/1/28 Masaki_Takasu :
> Hello;
>
> Cygwin1.7.7 has a problem that incorrect to interpret the files created by Macintosh.
>
> Steps
> (1) Create a '"' in name of a file using Macintosh.(Mac OS X 10.6.6)
> (2) To transfer file(created at step (1)) to Windows from Macintosh by SMB protocol.
> (3) '"' in name of a file is converted to Unicode 0xF020 according to SMB protocol.
> (4) To verify the file transferred to Windows using Cygwin "ls"command.
> (5) Cygwin interprets Unicode 0xF020 as ' '(Spaces) in name of a file.
>
>  ※ Character conversion table mapping code in SMB protocol
>     References   http://support.microsoft.com/kb/q117258/
>
>     Macintosh ANSI  Unicode
>     --------------------------------
>     0x01-0x1F       0xF001-0xF01F
>     "               0xF020
>     *               0xF021
>     /               0xF022
>     <               0xF023
>     >               0xF024
>     ?               0xF025
>     \               0xF026
>     |               0xF027

Deja vu. You may be out of luck:
http://sourceware.org/ml/cygwin/2005-12/msg00178.html

See also: http://sourceware.org/ml/cygwin/2008-04/msg00410.html
Macintosh. Think different!

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

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



More information about the Cygwin mailing list