3.Using Cygwin, Special filenames, Invalid filenames

Masaki_Takasu takasu_masaki@soarsystem.co.jp
Fri Jan 28 11:13:00 GMT 2011


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

Thanks.

---
Masaki_Takasu
  mailto:takasu_masaki@soarsystem.co.jp
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 27857 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20110128/34ab5a20/attachment.obj>
-------------- next part --------------
--
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