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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; q=dns; s=default; b=m0W8pFyiLGAn5QVU21aoIxiexr2LF0 r2yNZ65UbTOJORW32O+1W8rs+Zw6veagS+SpJobYB5eLl6uy/+6tB1U+c9h8miBf JCkEVA9SWmq4D8OOQJUcsrnp8v7W+Q7uWHGrH5/FuXFOfz9s9JhX0pdjo8yTXd+d rHT9d9tC2qFgQ= 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; s=default; bh=owJxnbjKxATrcO87HyrAOUxIQ0Q=; b=SVmx AyCPNYoj15YZUzRFnJmKdW1URQexV1wEjLUZVhrEZzX1mSng3EFI6ObLxOQH4Fz7 C2pit0l3OqbkqHTJWEg0RAOjJ4JzAi0SgA0SWEyf1TRR6qW8TG/L47joOgo1TJ7g qOuE0Dj9Ey6dtSu4VDrD8P/stfpK59//YWTOFMU= 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=-5.4 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Achim Gratz Subject: Re: grep treating my text files as binary! Date: Sat, 27 Dec 2014 11:42:24 +0100 Lines: 13 Message-ID: References: <549B4258 DOT 5050509 AT redhat DOT com> <549C5A6B DOT 2000509 AT towo DOT net> <27CE6A0A-9845-4A1C-A0F8-C0236B95A1E3 AT etr-usa DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 In-Reply-To: X-IsSubscribed: yes Am 27.12.2014 um 11:07 schrieb Bengt Larsson: > I ran into this, actually. I keep a list of my directories and it is in > CP1252 for reasons of interfacing with CMD.EXE. Suddenly grep couldn't > match it. But I figured something was up and set my locale to CP1252 and > then it worked. I just keep a "CHCP 65001" at the beginning of all CMD files that are meant to interface with Cygwin. -- Achim. (on the road :-) -- 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