grep treating my text files as binary!
Bengt Larsson
lists.cygwin4@bengtl.net
Sat Dec 27 10:55:00 GMT 2014
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
More information about the Cygwin
mailing list