Click here to Skip to main content
15,074,668 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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!

[Edit After Rejeesh.T.S answer]
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_Static.SetFont( &m_font );<br />

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]
Updated 2-Feb-10 20:55pm

1 solution

It seems, enabling UNICODE in project settings woul be enough to support languages like Chinese, Japanese etc. May be you have to install the language pack as well.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900