This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]