From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: What does Emacs on w32 know that grep can't figure out? Date: Sat, 02 Oct 2010 09:29:37 +0200 Message-ID: <83bp7dqcgu.fsf@gnu.org> References: <87bp7d1o6k.fsf@catnip.gol.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1286004587 18882 80.91.229.12 (2 Oct 2010 07:29:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Oct 2010 07:29:47 +0000 (UTC) Cc: emacs-devel@gnu.org, miles@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 02 09:29:46 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 1P1wXQ-0007ce-CQ for ged-emacs-devel@m.gmane.org; Sat, 02 Oct 2010 09:29:44 +0200 Original-Received: from localhost ([127.0.0.1]:32929 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1wXP-00045g-DP for ged-emacs-devel@m.gmane.org; Sat, 02 Oct 2010 03:29:43 -0400 Original-Received: from [140.186.70.92] (port=57600 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1wXH-00045b-HX for emacs-devel@gnu.org; Sat, 02 Oct 2010 03:29:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1wXG-0004un-F1 for emacs-devel@gnu.org; Sat, 02 Oct 2010 03:29:35 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:60975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1wXG-0004uf-1x; Sat, 02 Oct 2010 03:29:34 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L9N00900J704V00@a-mtaout20.012.net.il>; Sat, 02 Oct 2010 09:29:32 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.77.74]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L9N008Z9JH798G0@a-mtaout20.012.net.il>; Sat, 02 Oct 2010 09:29:32 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:131218 Archived-At: > 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.