Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Internationalization problem in req.getParameter ()  RSS feed

Siddharth bal sharma
Posts: 8
  • Mark post as helpful
  • send pies
  • 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?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!