0

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)?

0 Answers0