From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: bug#23750: 25.0.95; bug in url-retrieve or json.el Date: Wed, 30 Nov 2016 17:45:25 +0200 Message-ID: <787e5206-53e0-752f-a339-4608d2f7ad39@yandex.ru> References: <6d0c8c2e-8428-2fdb-0d6e-899f7b9d7ffd@nifty.com> <8053af81-80e1-a24a-f649-8ffc86963ed5@nifty.com> <0cc7fab4-9a2c-6a8d-def7-36bd50317ca3@yandex.ru> <7f9a799f-de88-fd78-0cdc-dac0928f1503@nifty.com> <308bb78f-8be3-092d-d877-e129d340242b@nifty.com> <4dc615e7-ec73-60a5-426e-0d6986f15d76@yandex.ru> <0cb406fb-ffc4-a4ad-557a-2cacc99b8e75@nifty.com> <86ccb4af-5719-c017-26bb-fc06b4c904d2@yandex.ru> <83r35uxkr5.fsf@gnu.org> <4e12d4ad-cd6b-3087-5d7c-449d4c1886e2@yandex.ru> <83lgw1q9uu.fsf@gnu.org> <83eg1tq8is.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1480520805 13376 195.159.176.226 (30 Nov 2016 15:46:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 Nov 2016 15:46:45 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Thunderbird/50.0 Cc: p.stephani2@gmail.com, emacs-devel@gnu.org, larsi@gnus.org, kentaro.nakazawa@nifty.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 30 16:46:41 2016 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 1cC75l-0002ar-1J for ged-emacs-devel@m.gmane.org; Wed, 30 Nov 2016 16:46:41 +0100 Original-Received: from localhost ([::1]:44746 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cC75o-0003Oe-M4 for ged-emacs-devel@m.gmane.org; Wed, 30 Nov 2016 10:46:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cC75e-0003M8-0y for emacs-devel@gnu.org; Wed, 30 Nov 2016 10:46:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cC75Z-0006zQ-69 for emacs-devel@gnu.org; Wed, 30 Nov 2016 10:46:34 -0500 Original-Received: from mail-wj0-f172.google.com ([209.85.210.172]:34326) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cC75Y-0006yw-WD; Wed, 30 Nov 2016 10:46:29 -0500 Original-Received: by mail-wj0-f172.google.com with SMTP id mp19so178339062wjc.1; Wed, 30 Nov 2016 07:46:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=yA++a9T8tRKH+GmOCk6htUHlJQ2Uj3UfdxXSpp++0fY=; b=K0HaWDoI1nSCHntpzFS8NzmWabe2bVohT37iwvDSkoKjY6aERhTYBS196SwuAOcf2W Dw+KzAqwCWe2s+8lQslMokh3nmxMVa0hHfkasvhWZ0CN0DIoDxthVeUzf4o26xEaaHs3 K5Fh6+B/iAx4SJzOlRGf7e3WHMMmYZdbat2k8RGCaYGGEvfpwqEzPmCLId4TyDrC7s9y ExON3/mqsIEes6OxRAKMkK/UIfFbsiw4CBpBDkoFnDEq6z/L6yrUglveJV6Ts4zxornw cYKJWp57HTDDV7GKurkZny0Lwq4yxBBoIeE6Un15yl29Sq1iKKbfbjq/w30bSgeT5UUR NaaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=yA++a9T8tRKH+GmOCk6htUHlJQ2Uj3UfdxXSpp++0fY=; b=hxHXupk0K/Y5wEDcmMrK5SDf6fCfzUssD7m0Sa/TUDlz8bqt7ee5Vsjga9NyjNvAbD /ln/N43JeX3XOcRlfEuZTFrzn5lQXX48G2Ms8MMyBo3qEt+YppxVwHZ0VMyv0q4/A8im 35IHxjwrR+++Y8BGzKxZtzlxrGsrg7NHCs5CnOkGEyCBOttpxFAk9SrvKMFVLssMusRH arpy4C2syxFWrPAgsLL1OZNvyvAZlB3vJdidufdkzXs9cQSXTit7Frd76cXiVLKum5Sm wY20nR7Opq0s+dzIMKa/t1KZF2HQUTHGdWLZ4lMBq/KvRZYRuqjwWm3xnckQn+NtXTl5 lt3w== X-Gm-Message-State: AKaTC01sukPcGDI8mF/I6qH0iiJ4g/3/HIEE4zu/gNmfLpELxpeF+Zc3eBWYyYPXfV1Mvw== X-Received: by 10.194.178.170 with SMTP id cz10mr28320129wjc.224.1480520727818; Wed, 30 Nov 2016 07:45:27 -0800 (PST) Original-Received: from [192.168.0.133] ([212.50.99.193]) by smtp.googlemail.com with ESMTPSA id x188sm8539729wmx.4.2016.11.30.07.45.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Nov 2016 07:45:27 -0800 (PST) In-Reply-To: <83eg1tq8is.fsf@gnu.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.210.172 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:209809 Archived-At: On 30.11.2016 17:42, Eli Zaretskii wrote: >> json-encode uses the previously mentioned symbol-name, which returns >> multibyte values. What would we do about that? > > Check that the value returned by symbol-name is pure-ASCII, and if so, > make it unibyte? In json-encode? Should it really deal with that concern explicitly? I could understand an idea along the lines of "use a different algorithm", but calling encode-coding-string inside json-encode sounds odd.