| java.lang.Object com.sun.portal.netlet.util.UrlEncoder
UrlEncoder | public class UrlEncoder (Code) | | UrlEncoder: java.net.URLEncoder (jdk ver 1.3) doesn't handle multibyte
(japanese) characters properly. The encode method assumes platform default
encoding which does not help our case. Hence the code has been borrowed from
jdk1.4's implementation of URLEncoder where the encoding to be used is a
parameter. This class handles those multibyte characters and encodes the
input string based on the character encoding input.
input: string to be translated, character encoding. output: the translated
string.
|
caseDiff | final static int caseDiff(Code) | | |
|
|