X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; q=dns; s=default; b=ehNuQzDZ47yxRCqSWThXPZMLsWye OxJnPVeL1h1OjPoKngNoHLCyykbDTZWepPqspvKyE2uxP3V7M4jL7ZV/d0FzSbOj 4q4AsqIAY8iP1IJthVnniovGkM8D7yP/K2IjG5VPuKDm27/ZJ+gwqukEOhL9V3y0 ODCldpRHv5/gPb4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id :references:to; s=default; bh=PUF+2VTztZ4MKPMX29YVPUw7IK8=; b=yX XNjc0dC9I8fX/kyeruxHvxHOPDfo/Y3QBUZnyYtggVAr5hF50UPHpg4OTBxENtcB t2LKI4YYCFQCQIbFlEf6vFgj2uD6JREpowhes5ke/Qah+12en24JQrRQmTxVodPK MdI03bODUDOu4gaJrEPJCaXvkjZ+jiLN7LgczGXIw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=pale, sk:crobert, D*gilsongraphics.com, crobertsgilsongraphicscom X-HELO: etr-usa.com Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Quotes changed to odd characters in gcc error msgs From: Warren Young In-Reply-To: <7ddb3b6ed96c4cabe49cb1fb5559c32b@mail.gmail.com> Date: Wed, 13 Jan 2016 12:52:19 -0700 Message-Id: References: <7ddb3b6ed96c4cabe49cb1fb5559c32b AT mail DOT gmail DOT com> To: The Cygwin Mailing List X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u0DJqggK002602 On Jan 13, 2016, at 8:05 AM, Chuck Roberts wrote: > > My TERM variable says "cygwin”. That means you’re running under the built-in Windows console, not MinTTY, which means you don’t get UTF-8 support by default. You could try “chcp 65001” but the real fix is to use MinTTY. MinTTY has *many* features not available in the Windows Console. Even the vastly upgraded version included with Windows 10 is a pale wannabe compared to MinTTY. man mintty for details. > 2) I'm using PSPad to edit some of my .C files. Careful, there. Unix is traditionally case-sensitive, and some programs coming from that tradition treat .C files differently from .c files. One such tool is gcc, which will interpret your file as C++ even if you invoke it as gcc instead of g++. GNU make also assumes .C is C++. C++ is not 100% forwards compatible with C: https://en.wikipedia.org/wiki/Compatibility_of_C_and_C%2B%2B On Windows, NTFS is case-insensitive by default, but also case-preserving, so saving a file as *.C will invoke this automatic C++ treatment under Cygwin. > the directory listing of files using 'ls -l' has the occasional > file concatenated with the next file, like a carriage return is missing > somewhere. This may be a Windows Console bug, too. Again, switch to MinTTY. It’s the default for a reason. -- 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