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] |
[Let's keep the discussion on the mailing list.] On 1/13/2016 11:28 AM, Chuck Roberts wrote:
-----Original Message----- From Ken Brown On 1/13/2016 10:05 AM, Chuck Roberts wrote:Hello, 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). Ken Got it! I did this then added these commands to my .bashrc: export TERM=mintty export LANG=en_US
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.
Ken -- 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |