This is the mail archive of the
cygwin
mailing list for the Cygwin project.
UTF-8 breaks 'ascii'
- From: "Nellis, Kenneth" <Kenneth dot Nellis at acs-inc dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 14 Apr 2010 08:50:28 -0500
- Subject: UTF-8 breaks 'ascii'
Cygwin defaulting to UTF-8 breaks the 'ascii' program.
It seems 'ascii' presumes a character encoding of LATIN1.
To get intended output:
ascii | iconv -f LATIN1 -t UTF-8
I would have considered this an upstream problem except for
the reference to cygutils:
$ ascii --help
ascii is part of cygutils version 1.4.2
Prints nicely formatted table of the ascii character set
...
Maybe it shouldn't attempt to display code points 128..255
since they aren't really ascii.
--Ken Nellis