'what does client.encoding.override do?

I have a jsp file in exDocRoot that accepts text input but when the inputted text is 2-byte character (ex:漢字) it becomes garbage

jvm.options setting:

-Dfile.encoding=Cp943C
-DextendedDocumentRoot=C:/exDocRoot

But when I added client.encoding.override in jvm.options the problem was fixed

updated jvm.options setting:

-Dfile.encoding=Cp943C
-Dclient.encoding.override=Cp943C
-DextendedDocumentRoot=C:/exDocRoot

I would like to know the reason how client.encoding.override fixed the problem. Will it have an effect in my other jsp files (display and input)?

jvm


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source