News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Can I change default console in windows?

Started by xuanzon, December 30, 2008, 05:16:59 AM

Previous topic - Next topic

xuanzon

as the subject. I write a console program with UTF-8 encoding.
And windows xp cmd cannot display text correctly.
And option Setting ->Environment->Terminal to launch console programs is disable.
I want to use cygwin(can display UTF-8 encoding correctly) as my default console program output.
Thank you for any reply.

MortenMacFly

Quote from: xuanzon on December 30, 2008, 05:16:59 AM
I want to use cygwin(can display UTF-8 encoding correctly) as my default console program output.
This is not supported directly. Windows does have exactly one console.

But: You can use the tools menu just fine. Add the Cygwin console as new "tool" and link it with the project's application (there is a macro provided for this purpose). This way you can run *any* project's executable using the Cygwin console just fine.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]