help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: `grep' command on MS Windows with Cygwin, looking for text with Unic


From: Drew Adams
Subject: RE: `grep' command on MS Windows with Cygwin, looking for text with Unicode chars
Date: Wed, 13 Jun 2018 12:16:09 -0700 (PDT)

> > Is there a simple way to use `M-x grep' (e.g., giving it
> > some switches or escape chars or replacing them with hex
> > escapes or...) to search for some text that includes
> > non-ASCII Unicode chars?
> 
> Not on MS-Windows with the native Windows build of Emacs, AFAIK.  I
> think you will need a Cygwin build of Emacs for that, and perhaps also
> a newer Cygwin Grep.
> 
> Emacs on Windows cannot invoke subprograms with command-line arguments
> encoded in anything but the system codepage.  And Windows doesn't
> support UTF-8 as the system codepage.  Sorry.

Thanks for confirming, Eli.

I wonder if the Emacs doc should mention this, not supposing that
users will figure it out.  Since Emacs otherwise supports Unicode
so well now, it will be natural that some users will mistakenly
expect `M-x grep' to DTRT here.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]