Mac to windows File name conversion

Roy Mathews <[email protected]>
Newsgroups gmane.network.samba.java
Message-ID <B06B6A63EBABA241BF5BCFEBEEE8304C022A85@SN2PRD0710MB372.namprd07.prod.outlook.com>
Hi All,

We have an application to transfer file from mac to windows using smb(JCIFS) and another application in windows to handle these files. But when there is a invalid character like \ / : * ? " < > |  in filename , it will get converted to another character. This creates issue in filename comparison issues, since we are saving actual filename in database.
How smb converts these filenames?
Is there any specific rule for this character conversion, so that we can use that converted characters in database?

Regards,
Roy Mathew
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.