This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: Console codepage setting via chcp?
On Sep 27 14:13, IWAMURO Motonori wrote:
> Hi.
>
> # My comment might not be apposite because I have not read all the thread yet.
>
> > How could that be done for the console though? A couple of lines like
> > this in cygwin.bat?
> >
> > chcp 65001
> > set LC_CTYPE=C.UTF-8
>
> The problem to the CJK users is caused by "chcp 65001".
> Windows' command prompt change fontset when run "chcp 65001".
> The fontset of codepage 65001 does not include CJK font.
>
> I have tested it on WinXP SP3 and Win7RC.
That's ok. I have given up on the idea to change the console output
codepage already. There's a simple way to store the codepage of the
current console within Cygwin itself, so a tool like the proposed
`setcons' doesn't have to change the real console codepage.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat