CYGWIN=codepage? Or LC_CTYPE=foo?

Kazuhiro Fujieda
Tue Apr 8 06:54:00 GMT 2008

>>> On Mon, 07 Apr 2008 13:38:48 -0700
>>> Brian Dessent said:

> This in turn will cause programs that use gettext to try to
> output UTF-8 localized messages, and we embarrassingly don't
> have a UTF-8 capable terminal in the distro so they will look
> like garbage.

You don't need to worry about a UTF-8 capable terminal. Windows
console can handle UTF-8 through Unicode.  Cygwin DLL will
convert UTF-8 messages to Unicode and feed them to WriteConsoleW,
if the codeset part of LANG or LC_CTYPE is UTF-8.
  | AIST      Kazuhiro Fujieda <>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology

More information about the Cygwin-developers mailing list