delorie.com/archives/browse.cgi | search |
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:from:to:subject:date:reply-to:message-id | |
:references:in-reply-to:mime-version:content-type | |
:content-transfer-encoding; q=dns; s=default; b=NM33Bpy7sLXJxSGb | |
J71oHUqFGyWDbSCBN+C4C6Y4hIo1KeL6oD+YN+tBAg5zK5sIog8aW5VVy6dmZL+8 | |
1IAzoHWuAQH4yy64O+0eAao625PFeFWBKs31UTO4DA1EJiIXRf3Pk9PRZ+qB3VrG | |
IgLB6Sjofco6n58t36kqYH9qmIs= | |
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:from:to:subject:date:reply-to:message-id | |
:references:in-reply-to:mime-version:content-type | |
:content-transfer-encoding; s=default; bh=sZP9GOWtrD3rsgGHQlqZmE | |
Pwnds=; b=EnlxNkIAwf0GLZmlgQ/bixNnTECYWkhcc054atnk5O2vfCCUGTeCic | |
kVK9G+lizpfqZstiBAQj4WKnW1tzFdDVR8StjWOiGEsXKzw4KBAKPUXHc3n9M4FN | |
Zsh0lwGBqLNFl0tbI9kWf+9XE/PO+cb6CsnY+uLS+lTMxsLml2grk= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 |
X-HELO: | homiemail-a103.g.dreamhost.com |
From: | Bengt Larsson <lists DOT cygwin4 AT bengtl DOT net> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: grep treating my text files as binary! |
Date: | Sat, 27 Dec 2014 11:55:42 +0100 |
Reply-To: | cygwin AT cygwin DOT com |
Message-ID: | <up3t9aljs08o8d41b989716l6pmibv7g85@4ax.com> |
References: | <XnsA40D81CA1FAA8davidrayninfocouk AT 80 DOT 91 DOT 229 DOT 13> <549B4258 DOT 5050509 AT redhat DOT com> <XnsA40DECB2AE256davidrayninfocouk AT 80 DOT 91 DOT 229 DOT 13> <549C5A6B DOT 2000509 AT towo DOT net> <27CE6A0A-9845-4A1C-A0F8-C0236B95A1E3 AT etr-usa DOT com> <evvs9ad871u11otrmfmt9hqfb7a3n0ehd0 AT 4ax DOT com> <m7m2ek$v29$1 AT ger DOT gmane DOT org> |
In-Reply-To: | <m7m2ek$v29$1@ger.gmane.org> |
User-Agent: | ForteAgent/7.20.32.1218 |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Achim Gratz wrote: >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. Thank you for that. I had tried this earlier but CMD.EXE refused to run scripts when I had codepage 65001. Now it does, for some 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |