When I try to use Qt it is all so fine but when I try to do something with plain C++, I found unicode to be quite a painful experience.
How to read plain unicode from a text file ? I have read many references to use (wchar_t *) but it would be helpful if I could get some real example.
wchar_t *unicode = L'unicode';
is this valid ? but what if my unicode character has a different font, do I also need an IDE that supports unicode for this purporse ?
or may be someone could help me get the unicode string from its value. In qt it is all too simple. If I want a unicode character with 0x0915 all I have to do is
QString s = QChar(2325); //0x0915 = 2325d
But how do we perform such a task in plain C++??
One last thing, I have seen that many browsers represent unicode in the form
क , could someone throw some light on that one too ??
Bookmarks