[jcifs] JCIFS and Share name with German character
Peter Zavadsky
peter_zavadsky at symantec.com
Wed Dec 2 13:11:07 MST 2009
Peter Zavadsky <peter_zavadsky <at> symantec.com> writes:
>
> Hi,
>
> I hit following issue with JCIFS when the share name contains German
character ß
> (or similar).
> See the following code snippet:
>
> Config.registerSmbURLHandler();
> SmbFile smbFile = new SmbFile("smb://hostname/Shareß/");
> //SmbFile smbFile = new SmbFile("smb://hostname/Share%C3%9F/"); // same problem
> smbFile.exists();
>
> It throws exception:
> jcifs.smb.SmbException: The network name cannot be found.
>
> Is there some configuration setting I am missing?
>
> Thanks,
> -Peter
>
>
I forgot to add that the issue is specific
to the ß German character. If we use other German characters,
e.g. like ä in the share name, it works fine.
(I am not sure, whether it has to do with uppercase
of the ß character, which in Java goes to "SS" string.)
-Peter
More information about the jCIFS
mailing list