Pregunta

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 ?

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top