[jcifs] problem encoding

andrea.lanza at frameweb.it andrea.lanza at frameweb.it
Fri Jan 17 02:08:53 EST 2003


My problem is the following.
Becouse I am writing a servlet using jcifs, I have an argoument passwd to
the servlet's url containing the SMB file to get and work on.

I encode this argoument using:

java.net.URLEncoder.encode("Name of my SMB File","UTF-8");

Everithing is OK fo a lot of character like () [] {} and so on...

But with some characters (accented characters , the degree symbol and
other) the encode fails.

Which is the best encoding I can use ?

thanks in advance,

Andrea





More information about the jcifs mailing list