문제

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 ?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top