由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Re: How to display Chinese text (query results) properly on web ??
相关主题
一个SQL query的问题关于Acess的简单问题
在win2000+sql server 2000中怎么加入中文?Question 2: distributed database question?
存取中文问题in MSSql 7.0[转载] question about SQL in Access
PostgreSQL Unicode问题[转载] Can anyone interpret this simple SQL?
how to query chinese in mysql?请教一个query
[转载] Crystal Report 9 languageA sql question
delete characters between parentheses?how to make query faster?
remove special characterquery estimation shows cost 900%?
相关话题的讨论汇总
话题: chinese话题: properly话题: query话题: unicode话题: string
进入Database版参与讨论
1 (共1页)
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.

1 (共1页)
进入Database版参与讨论
相关主题
query estimation shows cost 900%?how to query chinese in mysql?
oracle JDBC thin vs. JDBC OCI[转载] Crystal Report 9 language
再问个excel问题吧delete characters between parentheses?
急,SQL2005, 怎么查过去一小时里run过的所有query?remove special character
一个SQL query的问题关于Acess的简单问题
在win2000+sql server 2000中怎么加入中文?Question 2: distributed database question?
存取中文问题in MSSql 7.0[转载] question about SQL in Access
PostgreSQL Unicode问题[转载] Can anyone interpret this simple SQL?
相关话题的讨论汇总
话题: chinese话题: properly话题: query话题: unicode话题: string