grep treating my text files as binary!

Achim Gratz Stromeko@Nexgo.DE
Sat Dec 27 10:42:00 GMT 2014


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



More information about the Cygwin mailing list