请问:google的web services不能查询出中文吗?

78 2003-08-23 05:07:04
我用
rGetGoogleSearchPort.doGoogleSearch('adKV4f9QFHLNmm6oLFNsHEHRi2AhfxHg',
'中国', 1, 10, true, 'lang_zh-CN',true, 'lang_zh-CN', 'UTF8', 'UTF8');

不能查询中文结果,请问是为什么?如何解决?
...全文
27 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
78 2003-09-01
  • 打赏
  • 举报
回复
能不能有人应一下?
78 2003-09-01
  • 打赏
  • 举报
回复
help me .
78 2003-08-25
  • 打赏
  • 举报
回复
不是的,因为我是用DELPHI调用的,没有用.net环境。
saucer 2003-08-24
  • 打赏
  • 举报
回复
sorry

string s = "中国";
s = System.Web.HttpUtility.UrlEncode(s,System.Text.Encoding.UTF8);
78 2003-08-24
  • 打赏
  • 举报
回复
还是不行啊。
saucer 2003-08-23
  • 打赏
  • 举报
回复
encode 中国 first, or replace with %E4%B8%AD%E5%9B%BD

if you are using .NET, try:

string s = "中国";
s = System.Web.HttpUtility.UrlEncode(s,System.Text.Encoding.GetEncoding("GB2312"));
yqdeng 2003-08-23
  • 打赏
  • 举报
回复
GB2312
Meyer 2003-08-23
  • 打赏
  • 举报
回复
可以注意编码问题

12,163

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 Web Services
社区管理员
  • Web Services社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧