如何为BHO设置字符集

如何为BHO设置字符集

本文介绍了如何为BHO设置字符集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有IE的BHO.文本在Windows XP中正确显示,但在Windows7中不正确.

如何设置BHO的字符编码?我应该为此调查哪个界面? :)

在此先感谢!

[在Rejeesh.T.S回答后编辑]
我没有中文,日文等...文本是俄文.
BHO中有一个CStatic控件.对于该控件,我创建了一种字体:

I have a BHO for IE. The text is shown properly in Windows XP but not in Windows7.

how can I set a character encoding for BHO? what interface should I investigate for that? :)

thanks in advance!


I there is no Chinese, Japanese etc... the text is in Russian.
There is a CStatic control in BHO. For that control I create a font:

<br />
m_font.CreateFont(size,0,0,0,weight,FALSE,FALSE,0,RUSSIAN_CHARSET,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,DEFAULT_PITCH,name);<br />
m_Static.SetFont( &m_font );<br />



我确实要提到,这在Windows XP,IE8中可以正常使用.字符集问题仅出现在Windows7,IE8中.
因此,我认为更改(以某种方式)BHO的编码将有所帮助.但是我不知道该怎么做! :)



I do want to mention, that this works WELL in Windows XP, IE8. The problem with character set presents ONLY in windows7, IE8.
So I think, that changing (somehow) the encoding of BHO will help. But I ddon''t know how to do this! :)
[End of edit]

推荐答案


这篇关于如何为BHO设置字符集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 02:16