How to Make Multibyte Character in Request Body Recognized?

(Doc ID 2357695.1)

Last updated on FEBRUARY 13, 2018

Applies to:

Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Goal

Third party's application was deployed on weblogic server. The "login module" need to submit user name that might be multibyte character(for example, Chinese character). However the multibyte character retrieved from request parameter might not be able to handled appropriately, for example, comparing to static multibyte character.

such as output of below servlet code will always be false whatever input from page:

This article will show how to specify the Encoding for a Request so that multibyte character in request could be recognized 

 

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms