User forums > Using Code::Blocks
Why CB don't work with Russian language?
Sasha:
The Russian Language has not been Identified since the default Encoding type is already set to UT-F8.
Do I need to add an ru-RU.idx & ru-RU.dat files to make it work properly? if yes then how and where can i find those .idx and .dat files to work properly without missing any spell checking.
oBFusCATed:
Nope, idx and dat files are only for the spell checker.
To make this work you'll have to learn how encoding works in multiple applications.
You'll start with C::B, then the compiler and then the console you're using.
If any of those doesn't speak the encoding you want to use you'll see what you see at the moment.
If you're test files are UTF8 you have to make sure that the compiler stores UTF8 in the executable and that your console is capable to show UTF8.
If your encoding is not UTF8 you have to do the same with your preferred encoding.
BlueHazzard:
This topics should help you:
http://forums.codeblocks.org/index.php/topic,18803.msg128791.html#msg128791
http://forums.codeblocks.org/index.php/topic,22799.msg154918.html#msg154918
Sasha:
Already encoding is set to UTF-8 and still not working. This only happen with C::B only in my system, I have tested with Notepad++ and everything works fine.
I also see C::B has UTF-8 in the list of encoding but not Russian Language.
gd_on:
As told you before, the problem is not C::B itself but the "Windows Console application" (the black window on your image), used to display "cout" in your C++ code. Console is not set to support utf-8.
Navigation
[0] Message Index
[#] Next page
Go to full version