Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I created keylogger. Where if user press key ‘a’ I will replace it with char ‘a’ and so on. Every thing work fine to great deal for english language.

But my client asked me to convert it into multilingual software which support all langauge in OS.

Now if I select arabic or some other language and select same keyboard from OS settings. If I type anything in notepad or MS Word it will show in arabic, even in my application also it will show in Arabic.

But now if user press ‘a’ how can I get its corresponding arablic character.

My email validation, email delivery, login validation all are failed. Because I am comparing english and arabic which will not matched.

If anyone like to help. Thanks in advance.
Posted
Comments
Uday P.Singh 26-Jun-11 14:12pm    
I guess you are asking the same question in different ways or with different words?
Sergey Alexandrovich Kryukov 26-Jun-11 21:12pm    
Are you sure all English letters has corresponding Arabic letters? Is so, what's the problem? Make a correspondence and use it.
--SA
Tarun.K.S 27-Jun-11 3:28am    
Good question.
sunder.tinwar 27-Jun-11 4:21am    
I asked the question again because I was not much clear in last post and you all concluded its easy.

The thing is here user can change his/her langauge any moment its not fixed.
The corresponding character pressed say a is something else in arabic and I dont know what it is. How to make its correspondence character.
sunder.tinwar 27-Jun-11 8:15am    
few of developers asked same question but no answer. Perhaps you can help me now..

http://msdn.microsoft.com/en-us/magazine/cc163824.aspx http://stackoverflow.com/questions/3743140/character-language http://stackoverflow.com/questions/4822261/is-it-possible-to-create-a-keyboard-layout-that-is-identical-to-the-keyboard-used http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/7c891924-6098-4c42-ab77-f4624b4475ef http://bytes.com/topic/c-sharp/answers/227702-converting-char-keyboard-mapped-code

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