[jcifs] Mac to windows File name conversion

George K Colley gcolley at apple.com
Wed May 16 10:48:20 MDT 2012


On May 16, 2012, at 2:10 AM, Roy Mathews <roy at empressmam.com> wrote:

> 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
These all should be converted into UTF16, you should check out http://support.microsoft.com/kb/q117258/  it shows these conversions.

George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20120516/20c9025e/attachment.html>


More information about the jCIFS mailing list