如何从外语网站获得所有unicode的回复 [英] how to get a response from foreign language website getting all unicode

查看:101
本文介绍了如何从外语网站获得所有unicode的回复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我试图从中文网站获得回复,我在回复中看到的只有Unicode。

例如

这是实际文字[2件78包邮]酷衣购男士短袖T恤男韩版v领夏装修身打底衫潮602

这就是我得到的回应[2 78 ] ' 602



如何解决这个问题,我认为我不可能在.net控件上显示中文字符,例如文本框和标签,这是怎么做的?



问候,

Hello all,

I am trying to get response from a Chinese site and all i can see in my response is Unicode.
for example
this is the actual text "[2件78包邮] 酷衣购 男士短袖t恤 男韩版v领夏装修身打底衫 潮602 "
and this is what i am getting in response [2��78����] ���¹� ��ʿ����t�� �к���v����װ�������� ��602

how to solve this, also i think it is not possible for me to display Chinese characters on .net controls such as textbox and labels , what is the way to do that?

regards,

推荐答案

看起来像你的代码期望一些8位字符集,更改代码的预期编码,如果您为控件设置了一些自定义字体,请将其转换为具有中文的字体。

当然,任何.Net控件正确汉化汉字。
Looks like your code expects some 8bit character set, change the expected encoding of your code, and in case you set some custom font for the controls, chage that to a font capable of Chinese.
Of course, any .Net control hanldes Chinese characters correctly.


解决了,我使用的是网页浏览器控件,而不是使用网页请求。
Solved , i am using web browser control instead of using web request .


这篇关于如何从外语网站获得所有unicode的回复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆