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 ?

Was it helpful?

Solution

by adding to the bat file -Dfile.encoding=GB2312 the java application support the Chinese char.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top