f*****c 发帖数: 22 | 1 Not sure if the following is relevant or not:
I remember Java's I/O library has two versions, one can support unicode the
other cannot. You may wish to look up the document about xxxbuffer.
I guess it is the porblem of Jsap, which fail to interprest the chinese
characters (codede in unicode by MS Access). | w*s 发帖数: 8 | 2 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
【在 f*****c 的大作中提到】 : Not sure if the following is relevant or not: : I remember Java's I/O library has two versions, one can support unicode the : other cannot. You may wish to look up the document about xxxbuffer. : I guess it is the porblem of Jsap, which fail to interprest the chinese : characters (codede in unicode by MS Access).
| C******w 发帖数: 23 | 3 Are you using win2000 English version. Your jsp might be
good, but your browser might not. Try in IE: click on
View, Encode, and find Chinese Simplified. See if this
helps.
【在 w*s 的大作中提到】 : 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
| C******w 发帖数: 23 | 4 Are you using win2000 English version. Your jsp might be
good, but your browser might not. Try in IE: click on
View, Encode, and find Chinese Simplified. See if this
helps.
【在 w*s 的大作中提到】 : 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
| w*s 发帖数: 8 | 5 It does not work that way.
I have tried it hundreds of times.
【在 C******w 的大作中提到】 : Are you using win2000 English version. Your jsp might be : good, but your browser might not. Try in IE: click on : View, Encode, and find Chinese Simplified. See if this : helps.
|
|