From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: What does Emacs on w32 know that grep can't figure out? Date: Sun, 03 Oct 2010 09:25:28 +0200 Organization: ThierryVolpiatto Message-ID: <878w2fivpz.fsf@tux.homenetwork> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1286091399 18908 80.91.229.12 (3 Oct 2010 07:36:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Oct 2010 07:36:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 03 09:36:37 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 1P2J7c-0005yv-B2 for ged-emacs-devel@m.gmane.org; Sun, 03 Oct 2010 09:36:36 +0200 Original-Received: from localhost ([127.0.0.1]:37988 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2J7b-0007PO-5n for ged-emacs-devel@m.gmane.org; Sun, 03 Oct 2010 03:36:35 -0400 Original-Received: from [140.186.70.92] (port=47320 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2J57-0006TW-G9 for emacs-devel@gnu.org; Sun, 03 Oct 2010 03:34:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2IyU-00042Y-J5 for emacs-devel@gnu.org; Sun, 03 Oct 2010 03:27:11 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:41961) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P2IyU-00042H-6a for emacs-devel@gnu.org; Sun, 03 Oct 2010 03:27:10 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P2IyR-0004X3-RF for emacs-devel@gnu.org; Sun, 03 Oct 2010 09:27:07 +0200 Original-Received: from 231.211.85-79.rev.gaoland.net ([79.85.211.231]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Oct 2010 09:27:07 +0200 Original-Received: from thierry.volpiatto by 231.211.85-79.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Oct 2010 09:27:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 231.211.85-79.rev.gaoland.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.50 (gnu/linux) Cancel-Lock: sha1:vHCi1YzZlLsptPio2l+CIFrtFYc= 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:131278 Archived-At: Eli Zaretskii writes: >> 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? > I have tried FINDSTR.exe from powershell, and it seem to work fine. http://tinyurl.com/36vez2n -- A+ Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997