如何从外语网站获得所有unicode的回复

编程入门 行业动态 更新时间:2024-10-24 04:47:30
本文介绍了如何从外语网站获得所有unicode的回复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好, 我试图从中文网站获得回复,我在回复中看到的只有Unicode。 例如 这是实际文字[2件78包邮]酷衣购男士短袖T恤男韩版v领夏装修身打底衫潮602 这就是我得到的回应[2 78 ] ' 602 如何解决这个问题,我认为我不可能在控件上显示中文字符,例如文本框和标签,这是怎么做的? 问候,

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 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的回复

本文发布于:2023-06-08 21:26:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/589339.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:外语   网站   unicode

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!