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 12:12:08 +0200 Message-ID: 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: quoted-printable X-Trace: dough.gmane.org 1286014368 19536 80.91.229.12 (2 Oct 2010 10:12:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Oct 2010 10:12:48 +0000 (UTC) Cc: miles@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 02 12:12:45 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 1P1z5A-0005VL-Qc for ged-emacs-devel@m.gmane.org; Sat, 02 Oct 2010 12:12:45 +0200 Original-Received: from localhost ([127.0.0.1]:47359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1z59-0004Ie-ES for ged-emacs-devel@m.gmane.org; Sat, 02 Oct 2010 06:12:43 -0400 Original-Received: from [140.186.70.92] (port=42031 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1z4y-0004IU-H2 for emacs-devel@gnu.org; Sat, 02 Oct 2010 06:12:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1z4x-0004V2-DL for emacs-devel@gnu.org; Sat, 02 Oct 2010 06:12:32 -0400 Original-Received: from mail-qy0-f169.google.com ([209.85.216.169]:43254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1z4v-0004Ua-VW; Sat, 02 Oct 2010 06:12:30 -0400 Original-Received: by qyk32 with SMTP id 32so431725qyk.0 for ; Sat, 02 Oct 2010 03:12:29 -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 :content-transfer-encoding; bh=dB7O0wOkVDTu5vAC+PsUUfkicZOJ3B55ChzYVW86Rh8=; b=PkHPJosy5Qq9h6prt5yX942ulWfEZy1LLlKNnOyR2hqyeBJBTkwa3ikH33H/hhJc0l vtJpALGnPB0QixQZFcYfYT41KXfTyMB/H7EiTGaSr0aswiF/odoEJmJ4a0sPQlAGqxr9 L9fbtuH2WtoIrWGSAe81+PaLZ1ix266zIgr7s= 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:content-transfer-encoding; b=HIZmMnbw5wfbiBfoK1QyDEtU45SvwBUtKJoIX3PwkdooZ4AIRBTG+TWzrfFRfpmPGz cUH6Q53FmDIMuOeGFs4igWYeQYmURRA2t7WzmriJqfXgmZhQ9Mucmpmz9EIRTiXikK+g SuExYXF9F5gfaqnjJNVaOuhE5fcMBdyg4oMQ0= Original-Received: by 10.229.181.73 with SMTP id bx9mr4879350qcb.70.1286014349480; Sat, 02 Oct 2010 03:12:29 -0700 (PDT) Original-Received: by 10.229.220.195 with HTTP; Sat, 2 Oct 2010 03:12:08 -0700 (PDT) In-Reply-To: <83bp7dqcgu.fsf@gnu.org> 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:131224 Archived-At: 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, all t= he > 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?