From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#24784: 26.0.50; JSON strings with utf-16 escape codes Date: Sun, 01 Jan 2017 12:26:07 +0000 Message-ID: References: <63b3b672-f91c-f1b9-46e5-8f6dd8636714@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11424262bfdab50545078afd X-Trace: blaine.gmane.org 1483273639 32059 195.159.176.226 (1 Jan 2017 12:27:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 1 Jan 2017 12:27:19 +0000 (UTC) To: Dmitry Gutov , Helmut Eller , 24784-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 01 13:27:15 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1cNfEE-0007Jv-5r for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Jan 2017 13:27:10 +0100 Original-Received: from localhost ([::1]:53066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNfEI-0005Tb-4q for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Jan 2017 07:27:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNfEB-0005SV-Ak for bug-gnu-emacs@gnu.org; Sun, 01 Jan 2017 07:27:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNfE7-0005cL-CS for bug-gnu-emacs@gnu.org; Sun, 01 Jan 2017 07:27:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46547) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cNfE7-0005bU-6R for bug-gnu-emacs@gnu.org; Sun, 01 Jan 2017 07:27:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cNfE6-0005on-Fq for bug-gnu-emacs@gnu.org; Sun, 01 Jan 2017 07:27:02 -0500 Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Jan 2017 12:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 24784 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 24784@debbugs.gnu.org, p.stephani2@gmail.com, eller.helmut@gmail.com Original-Received: via spool by 24784-done@debbugs.gnu.org id=D24784.148327358622315 (code D ref 24784); Sun, 01 Jan 2017 12:27:02 +0000 Original-Received: (at 24784-done) by debbugs.gnu.org; 1 Jan 2017 12:26:26 +0000 Original-Received: from localhost ([127.0.0.1]:33711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cNfDW-0005nr-5V for submit@debbugs.gnu.org; Sun, 01 Jan 2017 07:26:26 -0500 Original-Received: from mail-wm0-f44.google.com ([74.125.82.44]:38740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cNfDU-0005nd-5z for 24784-done@debbugs.gnu.org; Sun, 01 Jan 2017 07:26:24 -0500 Original-Received: by mail-wm0-f44.google.com with SMTP id k184so193404128wme.1 for <24784-done@debbugs.gnu.org>; Sun, 01 Jan 2017 04:26:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=vv/FbNEewgxXcMNKUWA6e7p9My3mJU5W5P26NTT6n7Y=; b=JkO0UmHrm6WF6bKzbaTY9Izegt2k+JeV9SGG1NUak4IDluyA04q2kk2jrnY7niMs+m acXnp/2RgfyNZ78KA/QLlvQ0iqXXPh54pg8Q9ywVlIOuf61ytJooTbnO5gDTamyHtIvI C3ZOhGMxRrrM0iwzMRDBTYE/5r7BGBF+plHtdXbJNS1XZ82dDmMaxBFNY9fcgOgpSYz5 5sSvK99QiFBiG7QZOoQ1JSvuAKRtO2ahVjMc+sMTUx2g14gGaArM8fBX8KE2JmHhz1XS M+frs+V/6yL2UWx+IhQdocvKNF79S4ydEME877sh5x0j8y77hiN16uhduyk366UApp/1 7XLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=vv/FbNEewgxXcMNKUWA6e7p9My3mJU5W5P26NTT6n7Y=; b=o1KsvzLhPUgVtpdRtW7Poha91G723ePe922n/N03P8wFh6bNLJWajeWdvTB1n3kBGV SRxMZS2AATg8yegoZE8iaQhi6OAfHWIqQ5wGESvjp0clm0T7qAcctq83pNiSkneZi+lR XRGExfGu/R42CRSdJ3eyhaiAuIkHTrBnhycH8hzpy2938h8i+06qpHJDNfBwQBzYmmv8 Rw4LC35nA9gTtSxcVqRORhbSpp3yDm5tJAXmfQ8DFzghafDEuK2bICKsVNY6pzlcZm2g V91Ty7PDplkYhncdvvtk6fZziwqQ6knppLp5mZ+rKbQCdfpTjs154AmlcryJ+WRjWBmp eC9Q== X-Gm-Message-State: AIkVDXJW9ndIY7BhHMcQVkJFM//3UHUyKegSHLJK1ZGwwBTA1l3etjxzfWJW7BfwSNZrZ2IHY8cZR4bqvoIBVQ== X-Received: by 10.28.129.81 with SMTP id c78mr48896219wmd.94.1483273578467; Sun, 01 Jan 2017 04:26:18 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:127656 Archived-At: --001a11424262bfdab50545078afd Content-Type: text/plain; charset=UTF-8 Dmitry Gutov schrieb am So., 1. Jan. 2017 um 01:45 Uhr: > On 31.12.2016 19:53, Philipp Stephani wrote: > > > Agreed; converted to defun. I've only used defsubst because some other > > helper functions also used defsubst. > > Thanks. Those others can probably be changed as well. > Yes, but rather not in this commit. > > > No, the below case is more general and therefore has to come last. > > Makes sense. > > > It's not 100% related to the patch, but I think it can be included for > > symmetry reasons (testing encoding as well as decoding). > > Of course. These are testing utf-8 encoding, though, right? It would be > better if you split them to a separate commit, I think. > OK, I've removed it from this patch and pushed it as 93be35e038. --001a11424262bfdab50545078afd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Dmitry= Gutov <dgutov@yandex.ru> sch= rieb am So., 1. Jan. 2017 um 01:45=C2=A0Uhr:
On 31.12.2016 19:53, Philipp Stephani wrote:

> Agreed; converted to defun. I've only used defsubst because some o= ther
> helper functions also used defsubst.

Thanks. Those others can probably be changed as well.

Yes, but rather not in this commit.
=C2=A0

> No, the below case is more general and therefore has to come last.

Makes sense.

> It's not 100% related to the patch, but I think it can be included= for
> symmetry reasons (testing encoding as well as decoding).

Of course. These are testing utf-8 encoding, though, right? It would be
better if you split them to a separate commit, I think.

OK, I've removed it from this patc= h and pushed it as 93be35e038.
--001a11424262bfdab50545078afd--