MFC C ++中阿拉伯字符的Windows API [英] Windows API for Arabic characters in MFC C++
本文介绍了MFC C ++中阿拉伯字符的Windows API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在MFC C ++项目中工作.应用程序中需要阿拉伯语支持.我尝试在代码中使用ARABIC_CHARSET,但似乎不起作用.如果我从charmap复制阿拉伯字符,则粘贴到编辑控件后,这些字符将变为?????.请提供使用阿拉伯语言支持的解决方案.
I am working in a MFC C++ project. There is a requirement for Arabic language support in the application. I tried using the ARABIC_CHARSET in the code, but does not seem to work. If I copy the Arabic characters from the charmap, upon pasting in the edit control, the characters are changing to ?????. Please provide a solution for using Arabic language support.
推荐答案
首先想到的是:您要编译Unicode吗?
The first thing that springs to mind is this: Are you compiling for Unicode?
这篇关于MFC C ++中阿拉伯字符的Windows API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文