[jcifs] Problem with jcfs and j2sdk_1.4.2_12
Oliver Schulze
oliver.schulze at agorum.com
Thu Aug 3 12:12:45 GMT 2006
Hallo,
I have a problem, see that little code:
SmbFile file = new SmbFile(
"smb://user:password@server/mount/dir/");
file.connect();
String[] files = file.list();
if (files != null) {
int len = files.length;
for (int i=0;i<len;i++) {
System.err.println(files[i]);
}
}
This works great on j2sdk_1.4.2_05.
Now I have changed to j2sdk_1.4.2_12 and the result of the list() command is, that each file comes back as "??????" in name. When I turn of useUnicode (=false) then it works, but then I have Problems with special chars like German-Umlauts. So, what is the problem with that jdk - Version ? Is this known ?
More information about the jcifs
mailing list