Code::Blocks Forums

User forums => Help => Topic started by: xuanzon on December 30, 2008, 05:16:59 am

Title: Can I change default console in windows?
Post by: xuanzon on December 30, 2008, 05:16:59 am
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.
Title: Re: Can I change default console in windows?
Post by: MortenMacFly on December 30, 2008, 03:02:09 pm
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.