User forums > Help

C-files & DOS Cyrillic encoding

<< < (2/2)

SuperSailorMoon:
I wish Code::Blocks editor supported OEM 866 codepage... But it is absent, unfortunately.

Albenejean:
Well, I don't know if this is related to CB. I thinks it's due to windows or to C++.

I can play whith CB all the time, the only way I know to display french caracters in a console is to use
--- Code: ---setlocale(LC_CTYPE,"french");

--- End code ---

SuperSailorMoon:

--- Quote from: Albenejean on January 02, 2008, 06:36:41 pm ---Well, I don't know if this is related to CB. I thinks it's due to windows or to C++.

I can play whith CB all the time, the only way I know to display french caracters in a console is to use
--- Code: ---setlocale(LC_CTYPE,"french");

--- End code ---

--- End quote ---

Many thanks, Albenejean! This way has helped:

setlocale(LC_ALL,".ACP");

Navigation

[0] Message Index

[*] Previous page

Go to full version