| java.lang.Object com.sun.portal.netlet.util.UrlDecoder
UrlDecoder | public class UrlDecoder (Code) | | UrlDecoder: java.net.URLDecoder (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 URLDecoder 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: encoded string, character encoding. output: the newly decoded string.
|
|
|