From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: What does Emacs on w32 know that grep can't figure out? Date: Sat, 2 Oct 2010 02:33:32 +0200 Message-ID: References: <87bp7d1o6k.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1285979646 17063 80.91.229.12 (2 Oct 2010 00:34:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Oct 2010 00:34:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 02 02:34:05 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 1P1q39-0006uL-1Y for ged-emacs-devel@m.gmane.org; Sat, 02 Oct 2010 02:34:03 +0200 Original-Received: from localhost ([127.0.0.1]:44653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1q38-00086A-0I for ged-emacs-devel@m.gmane.org; Fri, 01 Oct 2010 20:34:02 -0400 Original-Received: from [140.186.70.92] (port=45045 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1q31-000865-Oz for emacs-devel@gnu.org; Fri, 01 Oct 2010 20:33:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1q30-0005mi-Nt for emacs-devel@gnu.org; Fri, 01 Oct 2010 20:33:55 -0400 Original-Received: from mail-qw0-f41.google.com ([209.85.216.41]:44086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1q2z-0005mU-EV; Fri, 01 Oct 2010 20:33:53 -0400 Original-Received: by qwb8 with SMTP id 8so1752476qwb.0 for ; Fri, 01 Oct 2010 17:33:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=cpxx5ziW51638cz3N2RQ8wtnIbXiJ5ywVF4U29FW/eE=; b=heWumg6+CDV8SrcPYzBca1oV7SPrEe9yd9sXGj5yyyx08fr7SpRN7/VQBfAaoX+XT2 yWkXE0y78ZTFOosL7GR3DAvZrOCSkw1y++CMerO33Pchhp6g7PrrHHtJvhthlWR8T1ZW /76gnImQ6xIbTtkCAcaroWOQGwp9tAJwjD4W4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=ofq4WHBZXp5vca0e0VDJjZF6+w6WkxUPRAf0IjoSXFVdSTCavIvSmEeVUKoXft9hQh iTomNcjPuoWbzKOhd/ZleI1FxzX2i0EHJ31FeGR1bTTCYQ92tPuKqvQ42sekRpYVRtTf QCySfQ8h9ffhDbxHnwZva8XpC/U8NvPPvNVbU= Original-Received: by 10.229.1.233 with SMTP id 41mr4349165qcg.284.1285979632610; Fri, 01 Oct 2010 17:33:52 -0700 (PDT) Original-Received: by 10.229.220.195 with HTTP; Fri, 1 Oct 2010 17:33:32 -0700 (PDT) In-Reply-To: <87bp7d1o6k.fsf@catnip.gol.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:131205 Archived-At: On Sat, Oct 2, 2010 at 1:35 AM, Miles Bader wrote: > Stefan Monnier writes: >>> I actually think that there is no grep etc that handles this kind of >>> files on w32. Is there on *nix? >> >> UTF-16 is the problem, and it (basically) doesn't exist on non-w32 >> platforms. > > Yup. > > Though it seems MS is trying to fool/coerce the rest of the world into > greater adoption of that abortion... (e.g. the C++0x standard, where > u"xxx" now means UTF-16 text...) So where is the problem? Is utf-16 actually used on w32 in many apps? Or is this a left-over in CCleaner? If utf-16 is actually used is this there then a policy to not support it in grep or is it a lack of resources? (Whatever the case it makes grep a pretty unreliable tool.)