by adding to the bat file -Dfile.encoding=GB2312
the java application support the Chinese char.
How to add Chinese support to an existing java application? [closed]
-
03-07-2022 - |
Question
I got an application that coded with java.
the application have a same window that i can add some text and hit the send button. it is sending the test to a server and then print it there.
when i'm writing an English letter i have no problem.
when i'm writing Chinese letter , i can see it on the windows , but when hitting the send button the letter is changed to ??.
and the string that i'm sending to the server is ??.
any idea how i can add the Chinese support here ?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow