From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99811 invoked by alias); 13 Jan 2016 20:25:11 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 99800 invoked by uid 89); 13 Jan 2016 20:25:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_05,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=en_us, en_US, UD:en_US.UTF-8, UD:UTF-8 X-HELO: limerock04.mail.cornell.edu Received: from limerock04.mail.cornell.edu (HELO limerock04.mail.cornell.edu) (128.84.13.244) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 13 Jan 2016 20:25:09 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock04.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id u0DKP7OG021188 for ; Wed, 13 Jan 2016 15:25:07 -0500 Received: from [10.13.22.4] (50-192-26-105-static.hfc.comcastbusiness.net [50.192.26.105]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id u0DKP6fX020685 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Wed, 13 Jan 2016 15:25:07 -0500 Subject: Re: Quotes changed to odd characters in gcc error msgs References: <7ddb3b6ed96c4cabe49cb1fb5559c32b@mail.gmail.com> <5696786C.90208@cornell.edu> <277b7d7a165db5eb69855d1ce25cb6d6@mail.gmail.com> To: cygwin From: Ken Brown Message-ID: <5696B2A3.1010001@cornell.edu> Date: Wed, 13 Jan 2016 21:20:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <277b7d7a165db5eb69855d1ce25cb6d6@mail.gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00174.txt.bz2 [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