Author Topic: Can I change default console in windows?  (Read 4184 times)

xuanzon

  • Guest
Can I change default console in windows?
« 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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Can I change default console in windows?
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ