开发者

MSVC Unicode not displaying English

开发者 https://www.devze.com 2022-12-11 23:56 出处:网络
My problem is that my Unicode C++ program that I\'m writing in MSVC express is displaying all strings in an Asian font. What might cause this and how can I display the strings in English?开发者_StackO

My problem is that my Unicode C++ program that I'm writing in MSVC express is displaying all strings in an Asian font. What might cause this and how can I display the strings in English?开发者_StackOverflow


I have resolved the issue. When casting anything other than a WCHAR* the compiler interprets it in an undesired way(displaying Japanese fonts rather than English). Initializing the used strings as WCHAR* not only is accepted by the compiler but gives the desired result of English fonts.

I don't know how well this will apply to anyone else's problems but it has solved mine. Thanks to bmargulies and AraK for responding(I was away when you did I appologize).

0

精彩评论

暂无评论...
验证码 换一张
取 消