Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » unicode input in edit ctrls
Re: unicode input in edit ctrls [message #3195 is a reply to message #3184] Thu, 11 May 2006 21:59 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
ngducviet wrote on Wed, 10 May 2006 05:01

Hi,

My problem:
I am using a unicode-enable keyboard driver for typing vietnamese words in edit ctrl, it is OK when typing them in MFC's edit ctrl, but in U++ it is different, suppose I have vietnamese words: "nguyễn đức việt", all I got from U++'s edit ctrl is "nguyÔn ®øc viÖt" that is not the expected one.

Viet





Well, this is a little bit hard to resolve without having your Win version...

Basically, U++ accepts UNICODE that comes from Win32, and uses Win32 UNICODE output on the screen. It is really weird what went wrong here...

I have just tried to copy/paste the text above into U++ editfield and everything seems ok (please, try that too). That would point to input...

Hacking U++ is easy. The relevant code for this is in CtrlCore/CtrlKbd.cpp; Ctrl::DispatchKey at line 39. I believe that placing some LOGs there should reveal whether U++ is accepting / routing the right unicodes... (I cannot do that here because I do not have vietnamese kbd Wink

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MultiByte Coding: one half of Chinese chars displayed [BUG?]
Next Topic: How to reset a file .t
Goto Forum:
  


Current Time: Mon Apr 29 10:47:03 CEST 2024

Total time taken to generate the page: 0.02567 seconds