[jcifs] JCIFS and Share name with German character

Peter Zavadsky peter_zavadsky at symantec.com
Wed Dec 2 11:57:50 MST 2009


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



More information about the jCIFS mailing list