Hi everybody!
I would really appreciate any help on this. I have googled for an hour without a result. Few different hints but no one understandable enough.
I want to use Latvian or UTF-8(Unicode) characters in Dev-C++. Can anybody give me a hint how to do this?
What do you mean? Use UTF-8 in the source or output UTF-8 to the console?
Out to the console && from the read from the console
Unfortunately that last code posted in your discussion didn't work for me..
OK, then I'll just use Ubuntu.
Did you try WriteConsoleA instead of WriteConsole?
And did you try this test to make sure UTF-8 is working right?:
std::strcmp("я","\321\217")
(that should return 0)
can you really write "я" in Dev-Cpp ? I can't write unicode characters in its text editor, just "?"
Is there an option to set text editor in unicode ?