• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Internationalization problem in req.getParameter ()

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In Weblogic, req.getParameter() gives encoded data which we need to decode to get value【Number坑坼】string

But in websphere, req.getParameter() directly gives 【Number坑坼】[Looks like WebSphere handles decoding part before returning data]. So the code for decoding logic fails as it tries to decode the data which is already decoded.

In websphere,-Ddefault.client.encoding=UTF-8 argument is specified as a generic JVM argument.If we remove this argument the application is running fine.

Is anyone aware of this behavior?
 
I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic