[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: |
Tomas Nordin |
Subject: |
Re: `grep' command on MS Windows with Cygwin, looking for text with Unicode chars |
Date: |
Wed, 13 Jun 2018 21:43:52 +0200 |
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Wed, 13 Jun 2018 11:23:47 -0700 (PDT)
>> From: Drew Adams <drew.adams@oracle.com>
>>
>> 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.
Sorry for a naive question, but the "system codepage" or "current system
codepage" wording is used now and then in relation to non-ascii problems
on Windows. If on Windows, what is a good way to figure out the
current system codepage?
--
Tomas
- RE: `grep' command on MS Windows with Cygwin, looking for text with Unicode chars, (continued)
Re: `grep' command on MS Windows with Cygwin, looking for text with Unicode chars, Eli Zaretskii, 2018/06/13
Re: `grep' command on MS Windows with Cygwin, looking for text with Unicode chars,
Tomas Nordin <=