From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Question about (gui-get-selection nil 'text/html) Date: Sat, 14 Apr 2018 09:42:27 +0300 Message-ID: <83sh7y47cc.fsf@gnu.org> References: <87604vue1n.fsf@mouse.gnus.org> <871sfjudqo.fsf@mouse.gnus.org> <83zi264zt3.fsf@gnu.org> <87fu3yu9xm.fsf@mouse.gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1523688070 22305 195.159.176.226 (14 Apr 2018 06:41:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Apr 2018 06:41:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 14 08:41:06 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7Ery-0005jJ-1Y for ged-emacs-devel@m.gmane.org; Sat, 14 Apr 2018 08:41:06 +0200 Original-Received: from localhost ([::1]:36991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7Eu4-0002Yq-Jp for ged-emacs-devel@m.gmane.org; Sat, 14 Apr 2018 02:43:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7EtN-0002Y5-Ha for emacs-devel@gnu.org; Sat, 14 Apr 2018 02:42:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f7EtI-0002TS-KZ for emacs-devel@gnu.org; Sat, 14 Apr 2018 02:42:33 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7EtI-0002TL-HU; Sat, 14 Apr 2018 02:42:28 -0400 Original-Received: from [176.228.60.248] (port=3680 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f7EtH-0002LD-Vi; Sat, 14 Apr 2018 02:42:28 -0400 In-reply-to: <87fu3yu9xm.fsf@mouse.gnus.org> (message from Lars Ingebrigtsen on Fri, 13 Apr 2018 22:29:41 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:224581 Archived-At: > From: Lars Ingebrigtsen > Date: Fri, 13 Apr 2018 22:29:41 +0200 > Cc: emacs-devel@gnu.org > > >> There's a byte order mark at the start -- isn't utf-16 supposed to use > >> that to get the byte order? > > > > The file you attached has no BOM. > > The first four bytes were > > \303\277\303\276 > > Isn't that the BOM? Or do I misremember? Look at it with hexl-find-file or with "od -x", and you will see it's not a BOM (which should be either FFFE or FEFF).