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: Sun, 03 Oct 2010 21:09:27 +0200 Message-ID: <83d3rrozyw.fsf@gnu.org> References: <87bp7d1o6k.fsf@catnip.gol.com> <83bp7dqcgu.fsf@gnu.org> <87mxqw28cv.fsf@tux.homenetwork> <87mxqw4oup.fsf@tux.homenetwork> <83ocbcpqif.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1286132983 6409 80.91.229.12 (3 Oct 2010 19:09:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Oct 2010 19:09:43 +0000 (UTC) Cc: emacs-devel@gnu.org, thierry.volpiatto@gmail.com To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 03 21:09:41 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 1P2TwL-00013Y-7M for ged-emacs-devel@m.gmane.org; Sun, 03 Oct 2010 21:09:41 +0200 Original-Received: from localhost ([127.0.0.1]:37795 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2TwK-0000oA-9i for ged-emacs-devel@m.gmane.org; Sun, 03 Oct 2010 15:09:40 -0400 Original-Received: from [140.186.70.92] (port=53653 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2TwD-0000o5-R1 for emacs-devel@gnu.org; Sun, 03 Oct 2010 15:09:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2TwB-00010t-JO for emacs-devel@gnu.org; Sun, 03 Oct 2010 15:09:33 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:41713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P2TwB-00010p-B9 for emacs-devel@gnu.org; Sun, 03 Oct 2010 15:09:31 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L9Q00700AI0SL00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sun, 03 Oct 2010 21:09:21 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.50.140]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L9Q007ROAJJ0290@a-mtaout20.012.net.il>; Sun, 03 Oct 2010 21:09:21 +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:131295 Archived-At: > From: Lennart Borgman > Date: Sun, 3 Oct 2010 06:10:14 +0200 > Cc: Thierry Volpiatto , emacs-devel@gnu.org > > http://technet.microsoft.com/en-us/library/dd315403.aspx > > it does not look as it autodetects the coding system in the file. Why should it? What tool does, besides Emacs? You are supposed to tell it the encoding using the -Encoding option. > It does not even say it can handle utf-16, or at least I can't find > it. It does support UTF-16. That's the "Unicode" part of the values you can submit to the -Encoding option (you need to "think MS" to get it).