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 12:32:16 +0200 Organization: ThierryVolpiatto Message-ID: <87mxqw28cv.fsf@tux.homenetwork> References: <87bp7d1o6k.fsf@catnip.gol.com> <83bp7dqcgu.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1286015650 23935 80.91.229.12 (2 Oct 2010 10:34:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Oct 2010 10:34:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 02 12:34:09 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 1P1zPs-0000x7-VB for ged-emacs-devel@m.gmane.org; Sat, 02 Oct 2010 12:34:09 +0200 Original-Received: from localhost ([127.0.0.1]:39156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1zPs-0000tp-DG for ged-emacs-devel@m.gmane.org; Sat, 02 Oct 2010 06:34:08 -0400 Original-Received: from [140.186.70.92] (port=49266 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1zPj-0000tR-BN for emacs-devel@gnu.org; Sat, 02 Oct 2010 06:34:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1zPi-0000f5-5U for emacs-devel@gnu.org; Sat, 02 Oct 2010 06:33:59 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:56455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1zPh-0000ey-Ut for emacs-devel@gnu.org; Sat, 02 Oct 2010 06:33:58 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P1zPg-0000uF-CK for emacs-devel@gnu.org; Sat, 02 Oct 2010 12:33:56 +0200 Original-Received: from 52.77.197-77.rev.gaoland.net ([77.197.77.52]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Oct 2010 12:33:56 +0200 Original-Received: from thierry.volpiatto by 52.77.197-77.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Oct 2010 12:33:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 52.77.197-77.rev.gaoland.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.50 (gnu/linux) Cancel-Lock: sha1:n1qJl4DGaqx9Xd+U6ryKlIsBdPs= 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:131225 Archived-At: 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.  That's the >> implementation of the wchar_t type on Windows.  In particular, all 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? -- A+ Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997