This is the mail archive of the
mailing list for the Cygwin project.
Re: Quotes changed to odd characters in gcc error msgs
- From: Ken Brown <kbrown at cornell dot edu>
- To: cygwin <cygwin at cygwin dot com>
- Date: Wed, 13 Jan 2016 15:25:07 -0500
- Subject: Re: Quotes changed to odd characters in gcc error msgs
- Authentication-results: sourceware.org; auth=none
- References: <7ddb3b6ed96c4cabe49cb1fb5559c32b at mail dot gmail dot com> <5696786C dot 90208 at cornell dot edu> <277b7d7a165db5eb69855d1ce25cb6d6 at mail dot gmail dot com>
[Let's keep the discussion on the mailing list.]
On 1/13/2016 11:28 AM, Chuck Roberts wrote:
From Ken Brown
On 1/13/2016 10:05 AM, Chuck Roberts wrote:
I am running Cygwin 2.3.0 on Windows 7. I'm new to Cygwin and trying
to learn C programming (basic ANSI C).
I'm having 2 problems.
1) When I get an error message from the gcc compiler, the quotes in
the message are turned to high ascii characters that don't make sense.
How do I fix this? My TERM variable says "cygwin".
These are probably Unicode curly quotes. They should display properly if
you use one of the standard Cygwin terminals (such as mintty or xterm).
Got it! I did this then added these commands to my .bashrc:
Bad idea. mintty sets TERM to the appropriate value (which happens to
be xterm). And you probably want LANG to be en_US.UTF-8; but you don't
have to set it yourself. It's done by the script
/etc/profile.d/lang.sh, which is run by /etc/profile.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple