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: Sat, 02 Oct 2010 17:05:18 +0200 Organization: ThierryVolpiatto Message-ID: <87mxqw4oup.fsf@tux.homenetwork> References: <87bp7d1o6k.fsf@catnip.gol.com> <83bp7dqcgu.fsf@gnu.org> <87mxqw28cv.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1286032033 22787 80.91.229.12 (2 Oct 2010 15:07:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Oct 2010 15:07:13 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 02 17:07:12 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 1P23g6-0003IW-6R for ged-emacs-devel@m.gmane.org; Sat, 02 Oct 2010 17:07:10 +0200 Original-Received: from localhost ([127.0.0.1]:46645 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P23g5-0007Vr-Nn for ged-emacs-devel@m.gmane.org; Sat, 02 Oct 2010 11:07:09 -0400 Original-Received: from [140.186.70.92] (port=41530 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P23fz-0007V3-1s for emacs-devel@gnu.org; Sat, 02 Oct 2010 11:07:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P23fx-0001L6-Mp for emacs-devel@gnu.org; Sat, 02 Oct 2010 11:07:03 -0400 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:34063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P23fx-0001Ki-FO for emacs-devel@gnu.org; Sat, 02 Oct 2010 11:07:01 -0400 Original-Received: by wwb24 with SMTP id 24so4515532wwb.30 for ; Sat, 02 Oct 2010 08:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :organization:references:date:in-reply-to:message-id:user-agent :mime-version:content-type:content-transfer-encoding; bh=K/JSCzrTTqNkL1r8QG+dGHOT1waKfJc/hHCImJo+Y5s=; b=v5pGF7jydzQ/EJFMwtLMRZQjhuLOBm1MiHL3lkbXjm4/yFik+ZHHP7JzTjJ3NfW9bn GRymYgE9npUqNmQ5KnnCdE17kpLQQlTeymGNMfZgCpCDNkc5lxRnr/P8vMmTUt64WXSz zQ+3Gm5UP8Ifs4oQey2F2NriQ5V6pRd9AqGno= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; b=hbFleBCCuydac4R0iD9XnBXLaAVQRkca/TGRblWe7LHv59zx8de2CwMHS2KNA0W3ti Z+5D48PUqbKKST4/SvvGseVJ+eIJsT+c6jxTgK4Lx8ulP3yFkE7pGjgAoutnnpmIOa+4 BFRatssHTOV0OSPf/iN9/4+9RfHhYAlRuyYc4= Original-Received: by 10.216.91.16 with SMTP id g16mr5688818wef.78.1286032019619; Sat, 02 Oct 2010 08:06:59 -0700 (PDT) Original-Received: from tux.homenetwork (251.211.85-79.rev.gaoland.net [79.85.211.251]) by mx.google.com with ESMTPS id r18sm1624892weo.0.2010.10.02.08.06.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 02 Oct 2010 08:06:58 -0700 (PDT) In-Reply-To: (Lennart Borgman's message of "Sat, 2 Oct 2010 16:51:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.50 (gnu/linux) 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:131244 Archived-At: Lennart Borgman writes: > On Sat, Oct 2, 2010 at 12:32 PM, Thierry Volpiatto > wrote: >> Lennart Borgman writes: >> >>> On Sat, Oct 2, 2010 at 9:29 AM, Eli Zaretskii wrote: >>>>> From: Lennart Borgman >>>>> Date: Sat, 2 Oct 2010 02:33:32 +0200 >>>>> Cc: emacs-devel@gnu.org >>>>> >>>>> So where is the problem? Is utf-16 actually used on w32 in many apps? >>>>> Or is this a left-over in CCleaner? >>>> >>>> UTF-16 is used for all the Unicode APIs on Windows. =C2=A0That's the >>>> implementation of the wchar_t type on Windows. =C2=A0In particular, al= l the >>>> file names in the NTFS filesystem are actually stored as UTF-16, and >>>> all the OS databases in memory are stored in UTF-16 format. >>>> >>>> So this is not a left-over, this is what Windows uses internally. >>> >>> >>> Thanks. So then the question is why the grep program does not support >>> it. Is this a policy question, a lack of resources, or something else? >>> >>> >> It seem most modern windows versions come with powershell. >> Why windows users don't use it as backend for Emacs instead of using >> external Gnuwin32 programs? > > > Based on your advice I just took the trouble to install powershell. I > can not see that it addresses the problem with utf-16, but maybe I am > missing something. Can you please tell me how to search also utf-16 > files with it? That's just an idea i sent, i personally don't use (or really few sometimes on other machines) windows systems and i have just a basic knowledge of all that is related to it and microsoft in general (e.g Powers= hell). So i can't help you much here. Anyway, Eli seem to have tried it and is not convinced. --=20 A+ Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997=20