通过IE打开时,韩文字符在ActiveX控件中不显示 [英] Korean characters not displaying in ActiveX control when opened through IE

查看:144
本文介绍了通过IE打开时,韩文字符在ActiveX控件中不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个问题,我无法理解问题出在哪里。问题详情如下:



我正在开发基于MFC的应用程序,其中还有一个Web组件,并且在JAVA中开发了Web组件。

对于MFC应用程序中的每个屏幕,用户可以创建相应的HTML页面,当我们在浏览器中打开HTML页面时,它将启动MFC exe后端,因此MFC屏幕和屏幕位图将被转换为HTML。 />


其中一个MFC屏幕有一个非unicode的activex控件,我们想要显示韩文字符。由于activex控件未在unicode配置中编译以显示韩语字符,因此我们已将非unicode程序的系统区域设置更改为区域和区域中的韩语。语言选项和MFC屏幕现在显示韩语字符。问题在于Web视图。 Web浏览器中的activex控件不显示韩文字符,而是显示矩形框。但是这个问题并没有出现在所有的机器上,很少有机器能够正常工作,很少有机器没有。所以我觉得这不是代码问题。



我已经验证了这两台机器,我看不出IE设置,VC ++可再发行组件,JRE版本,字体,环境变量和应用程序相关的注册表。



我必须安装其他任何东西才能使其正常工作?

Hi,
I had one issue where i am not able to understand where could be the problem. Problem details below:

I was working on MFC based application in which there is a web component as well and web component is developed in JAVA.
For every screen in the MFC application, user can create a corresponding HTML page and when we open the HTML page in browser it will launch the MFC exe back end accordingly the MFC screen and the screen bitmap will be transferred to HTML.

One of the MFC screens has an activex control which is non unicode and we want to display the korean characters. Since the activex control is not compiled in unicode configuration to display the korean characters we had changed the system locale for non unicode programs to korean in region & language options and MFC screen now displays the korean characters. The issue is with web view. The activex control in web browser doesn't display korean characters instead it is displaying rectangular boxes. But this issue is not coming in all machines, few machines it is working good and in few machines not. So i feel this is not a code issue.

I had verified the both machines and i couldn't see any difference in IE settings, VC++ redistributable, JRE versions, Fonts, Environment variables and application related registry as well.

Anything else i had to install in order to make it work?

推荐答案

要显示特定语言的文本,您需要支持它的字体(Unicode或不支持)...

检查这些机器上安装的字体是否有错误...

1.如果你无法摆脱ActiveX而不是为你的客户端包含一个合适的字体,或者给出一个链接来下载和安装这样的字体

2.如果你能摆脱ActiveX - 快速做到并且使用得更好 - 纯粹基于网络 - 解决你的字体问题,比如@ font-face ...
To display text in a specific language you need font that supports it (Unicode or not)...
Check installed font on those machine the text is wrong...
1. If you can't get rid of ActiveX than include a proper font for your client, or give a link to download and install such font
2. If you can get rid of ActiveX - do it quickly and use much better - pure web-based - solutions for your font problem, like @font-face...


这篇关于通过IE打开时,韩文字符在ActiveX控件中不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆