From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: What does Emacs on w32 know that grep can't figure out? Date: Sun, 03 Oct 2010 01:39:11 -0400 Message-ID: References: <87bp7d1o6k.fsf@catnip.gol.com> <83bp7dqcgu.fsf@gnu.org> <87mxqw28cv.fsf@tux.homenetwork> <87mxqw4oup.fsf@tux.homenetwork> <83ocbcpqif.fsf@gnu.org> <83lj6gp78b.fsf@gnu.org> <83hbh3q5ti.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1286084372 383 80.91.229.12 (3 Oct 2010 05:39:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Oct 2010 05:39:32 +0000 (UTC) Cc: emacs-devel@gnu.org, thierry.volpiatto@gmail.com, lennart.borgman@gmail.com, mathias.dahl@gmail.com To: David Robinow Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 03 07:39:30 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P2HIF-0005QV-0Z for ged-emacs-devel@m.gmane.org; Sun, 03 Oct 2010 07:39:27 +0200 Original-Received: from localhost ([127.0.0.1]:43586 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2HID-0006fP-26 for ged-emacs-devel@m.gmane.org; Sun, 03 Oct 2010 01:39:25 -0400 Original-Received: from [140.186.70.92] (port=33590 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2HI2-0006da-9I for emacs-devel@gnu.org; Sun, 03 Oct 2010 01:39:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2HI0-0006Zt-7m for emacs-devel@gnu.org; Sun, 03 Oct 2010 01:39:14 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:46716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P2HI0-0006Zn-6B for emacs-devel@gnu.org; Sun, 03 Oct 2010 01:39:12 -0400 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P2HHz-0004vi-R4; Sun, 03 Oct 2010 01:39:11 -0400 In-reply-to: (message from David Robinow on Sun, 3 Oct 2010 00:29:41 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:131277 Archived-At: > Date: Sun, 3 Oct 2010 00:29:41 -0400 > From: David Robinow > Cc: mathias.dahl@gmail.com, thierry.volpiatto@gmail.com, > lennart.borgman@gmail.com, emacs-devel@gnu.org > > > How did you test that? > I found a UTF-16 file on my computer. Used 'TYPE' from a cmd window > to see the data. I'm not interested in TYPE, it's an internal command of CMD, not a program. > Used cygwin 'file' to verify that it was UTF-16. > Then cygwin 'grep' which failed (I don't have a Windows version but > nobody claims it works anyway). Then 'FIND' from a cmd window (using > the same string which failed for grep) and it worked. What string did you use with FIND, and (assuming it included non-ASCII characters) how did you type it into the CMD window?