return URLEncoder.encode(aString);\r
}\r
\r
+ /**\r
+ *\r
+ *\r
+ * @param aString\r
+ * @param anEncoding the encoding to use (Note: JDK 1.3 does not seem to support custom\r
+ * encodings, so this parameter is ignored for now)\r
+ * @return\r
+ */\r
+\r
public static String encodeURL(String aString, String anEncoding) {\r
try {\r
- return URLEncoder.encode(aString, anEncoding);\r
+ return URLEncoder.encode(aString);\r
}\r
catch (Throwable t) {\r
throw new RuntimeException(t.getMessage());\r