|
The Question is:
While using Java through Tomcat 4.1 and SDK 1.4.2, I am trying to encode a
string using the URLEncoder class. When I use this method on the Alpha
machine it is appending random "^" symbols in the string. This only happens
on OpenVMS and not a PC environ
ment of the same code.
Example:
String myString = "hello$how are you$123";
String myEncodedString = URLEncoder.encode(myString,"UTF-8")
System.out.println(myEncodedString);
output:
"hello$how^+are^+you$123";
This should be:
"hello$how+are+you$123";
Why does this behavior occur?
The Answer is :
Please contact the support center, as attempts to reproduce this
have failed -- information on the current configuration and the
run-time environment, associated product versions and ECOs, and
the full JSP will likely be required.
|