Home  |  About  | Last |  Submit  |  Contact
AllQuests.com

Previous Question:  CD Changer Disc Detection  Visual C++ ProgrammingNext Question:  Memory losse and thread advice  Visual C++ Programming
Question problem in writting urdu on Richedit control ( CodeGuru Forums Visual C++ Programming )
Updated: 2008-08-12 07:15:09 (5)
problem in writting urdu on Richedit control

i want to write urdu on a richedit control. but when i start writing after first character the language in languagebar get set to urdu or any other arabic language which is first in languagebar automatically and some garbage characters get typed on the control and if i remove urdu or arabic languages from languagebar the application works well,
i am unable to get the reason......plz suggest something..

Answers: problem in writting urdu on Richedit control ( CodeGuru Forums Visual C++ Programming )
problem in writting urdu on Richedit control

Quote:
Originally Posted by preeti.sharma
if i write "sharma" then it shows these garbage values
ث ￁ ە / ۹ە


That is a 1:1 character mapping. Are you sure that you are using a Unicode font? The RichEdit control uses the non-Unicode version of Ariel by default.



problem in writting urdu on Richedit control

It'll be switching to the urdu keyboard layout.

See here.

Darwen.



problem in writting urdu on Richedit control

Don't know about that, may be you should try setting the language programatically to urdu first.



problem in writting urdu on Richedit control

Are you using the Unicode version of the RichEdit control? If you are using the MBCS version, it will just show garbage.

If you are using dialogs, use the "RichEdit20W" control. You may have to manually edit your rc file.

-Erik



problem in writting urdu on Richedit control

Quote:
Originally Posted by egawtry
Are you using the Unicode version of the RichEdit control? If you are using the MBCS version, it will just show garbage.

If you are using dialogs, use the "RichEdit20W" control. You may have to manually edit your rc file.

-Erik


Hi egawtry

yes i m using unicode version of RichEdit.
i hav tried RichEdit50W and RichEdit20W as well as riched32.dll .but the problem is same in all. if i write "sharma" then it shows these garbage values
ث ￁ ە / ۹ە

preeti.sharma

Previous Question:  CD Changer Disc Detection  CodeGuru Forums  Visual C++ ProgrammingNext Question:  Memory losse and thread advice  CodeGuru Forums  Visual C++ Programming

- Source: problem in writting urdu on Richedit control CodeGuru Forums Visual C++ Programming
- Previous Question: CD Changer Disc Detection CodeGuru Forums Visual C++ Programming
- Next Question: Memory losse and thread advice CodeGuru Forums Visual C++ Programming





AllQuests.com