Click here to Skip to main content
15,887,280 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
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?
Posted
Updated 23-Jan-16 3:12am
v2
Comments
Sergey Alexandrovich Kryukov 22-Jan-16 21:23pm    
Why your ActiveX is non-Unicode? Are you serious? MFC does support Unicode...
—SA
Dave Kreskowiak 23-Jan-16 11:14am    
I have to warn you that ActiveX in a browser is officially a dead end. IE11 is the LAST BROWSER that will ever support ActiveX controls. Edge no longer has it and, frankly, IE was the only browser to ever really support it.

If this is a production application with a long lifespan you're using a technology that has a very limited lifespan. Proceed at your own peril.

1 solution

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...
 
Share this answer
 

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