w*s 发帖数: 8 | 1 I have tried to use String class to convert (encode)the
characters, but it seems that it does not work.
such as:
String newTitle = new String(title.getBytes("Cp935"))
or
byte[] newTitle = title.getBytes("Cp935");
Could anyone help me?
Thanks!
Jim Cheng |
|
|
|
|
|
|
|
m*****e 发帖数: 4193 | 8 Check the man page of the term emulator you are using.
For xterm it's xterm -title newtitle. |
|
|