Help with Japanese characters !!

Hello, im trying to use some japanese characters on 1 of my application, and if i go personally to the richedit and type down i have no problem with the system recognizing it. but then i am typing the code to get the character from a button and is giving me warning and showing nothing ??
I've been away from c++ for so long that i feel empty right now.
any help will be appreciated. Thank you.
Qt LInguist has translation facilities - I haven't used it, but it might help you. It is part of Qt SDK an d comes with Qt Creator IDE.

HTH
@ejchitin

Hi there

Are you talking about the Microsoft Windows Rich Edit control?

If so, the first question has to be: are you compiling Unicode or Ansi?

Andy
It was Unicode !
closed account (zb0S216C)
I don't know if it'll help, but have you tried storing the character as wide-character ("wchar_t")? The wide-character type is twice the length of "char", and is used to store characters that have a value larger than the normal English alphabet.

Wazzak
We need more info!

A code fragment?
Details about the warning?
And??

Andy
Topic archived. No new replies allowed.