The C locale
Mark J. Reed
markjreed@gmail.com
Wed Sep 23 15:16:00 GMT 2009
If I switch the console font to Lucida, I can see the Euro sign, too
(even on XP Pro). But mixing and matching with Cygwin doesn't work
well
H:\>echo € | c:\cygwin\bin\od -t x1
0000000 3f 20 0d 0a
(the Cygwin process saw the Euro sign as a question mark)
but
H:\>c:\cygwin\bin\echo € | c:\cygwin\bin\od -t x1
0000000 e2 82 ac 0a
which is the proper UTF-8 encoding of the Euro sign. So the output of
a Windows process coming in through a pipe is treated differently than
input from the Windows console.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list