HP OpenVMS Systems

ask the wizard
Content starts here

Java 1.4.2 URLEncode Encoding?

» close window

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.
String myString = "hello$how are you$123";
String myEncodedString = URLEncoder.encode(myString,"UTF-8")
This should be:
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.

answer written or last revised on ( 3-OCT-2004 )

» close window