Unicode支持控件或应用程序 [英] Unicode support for control or application
问题描述
大家好,
我的视觉工作室具有Unicode支持的.lib和.dlls.
问题是,我有一个带有泰米尔语字母的html文件.
如何在文本框中或任何控件中显示该字母.即使我在项目设置中设置了unicode支持,当我尝试在文本框中设置泰米尔字符时,它也显示为???????????????????????? ????????????
在我习惯于mbstowcs()之后,将WIN32 API函数从多字节转换为Unicode字母.
它显示的是这样的மாரதமàà¤à྾சனà¯??àபாடலà¯??க஠³à¯??"
有人可以帮我显示其他语言字符吗?
Hi All,
My visual studio has Unicode supported .lib and .dlls.
The problem is, I have a html file which has, Tamil letters.
How to display that letter in a text box or in any control. Even after i set unicode support in project settings, When i tried to set tamil characters in text box, it is showing as like ???????????????????????????????????
After i used to mbstowcs() WIN32 API function to convert from Multibyte to Unicode letters.
it is showing like this "பாரதிதாசன௠பாடலà¯à®•à®³à¯"
Can anyone please help me what i need to do, to display other language characters.
推荐答案
我想,您缺少Tamil Locale MUI.您需要安装语言包,以便可以正确看到该语言环境中的文本.
在此处阅读有关它们的所有信息:多用户界面(MUI)语言包 [ ^ ]
I guess, you are missing the Tamil Locale MUI. You need to install the language pack such that the text in that locale can be seen properly.
Read all about them here: Multiple User Interface (MUI) Language Packs[^]
信息不足,无法给出明确的答复,但是我想您的Tamil html文件采用UTF-8编码.您需要先将其转换为UTF-16(在Windows上通常称为"Unicode")(mbstowcs不会为您完成),然后将其显示在控件中.
另外,您需要确保控件中使用的字体支持泰米尔语字母.
Not enough information to give a definitive response, but I guess your Tamil html file is encoded in UTF-8. You need to convert it to UTF-16 (usually called "Unicode" on Windows) first (mbstowcs won''t do it for you) and then display it in a control.
Also, you need to make sure the font you use in your control supports Tamil letters.
这篇关于Unicode支持控件或应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!