如何在VB.net或VC ++。net中将输入字符集设置为unicode

时间:2023-01-06 12:53:53

Hi there fellow programmers..

嗨其他程序员..

i am using Web Browser control in VB.net 2005, the application i wrote shows a webpage on my computer which has 2 text areas, one for input, and the other for output.

我在VB.net 2005中使用Web浏览器控件,我写的应用程序在我的计算机上显示了一个网页,该网页有2个文本区域,一个用于输入,另一个用于输出。

my problem is, i need the charset of the whole program to be unicode, coz the charset of the webpage is utf8. and right now, when i process the input text, the output looks like this:

我的问题是,我需要整个程序的字符集是unicode,因为网页的字符集是utf8。现在,当我处理输入文本时,输出如下所示:

undefinedundifinedundefinedundifinedundefinedundifinedundefinedundifined

any ideas about how i can change the input language of the entire program to utf-8 or unicode ?

关于如何将整个程序的输入语言更改为utf-8或unicode的任何想法?

thanks

1 个解决方案

#1


never mind, turned out the program already accepts unicode input, its the javascript inside the webpage that i am using that's creating the error..

没关系,原来这个程序已经接受了unicode输入,它正在我正在使用的网页内的javascript创建错误..

#1


never mind, turned out the program already accepts unicode input, its the javascript inside the webpage that i am using that's creating the error..

没关系,原来这个程序已经接受了unicode输入,它正在我正在使用的网页内的javascript创建错误..