From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kentaro NAKAZAWA Newsgroups: gmane.emacs.devel Subject: Re: bug#23750: 25.0.95; bug in url-retrieve or json.el Date: Tue, 29 Nov 2016 19:23:13 +0900 Message-ID: <7f9a799f-de88-fd78-0cdc-dac0928f1503@nifty.com> References: <6d0c8c2e-8428-2fdb-0d6e-899f7b9d7ffd@nifty.com> <8053af81-80e1-a24a-f649-8ffc86963ed5@nifty.com> <0cc7fab4-9a2c-6a8d-def7-36bd50317ca3@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1480415131 28794 195.159.176.226 (29 Nov 2016 10:25:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2016 10:25:31 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 Cc: emacs-devel@gnu.org To: Dmitry Gutov , Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 29 11:25:28 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 1cBfbI-0006dH-Rv for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2016 11:25:25 +0100 Original-Received: from localhost ([::1]:35811 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBfbM-0003Ob-ES for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2016 05:25:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cBfZj-0002sY-4W for emacs-devel@gnu.org; Tue, 29 Nov 2016 05:23:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cBfZg-0001vB-Ds for emacs-devel@gnu.org; Tue, 29 Nov 2016 05:23:47 -0500 Original-Received: from conssluserg-05.nifty.com ([210.131.2.90]:25833) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.71) (envelope-from ) id 1cBfZf-0001u6-Qr for emacs-devel@gnu.org; Tue, 29 Nov 2016 05:23:44 -0500 Original-Received: from [192.168.0.5] (nfmv001097188.uqw.ppp.infoweb.ne.jp [222.158.160.188]) (authenticated) by conssluserg-05.nifty.com with ESMTP id uATANDOb008585; Tue, 29 Nov 2016 19:23:14 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com uATANDOb008585 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1480414994; bh=gQ7yWWALBmzzJuh0p/ZfWprmWOVa66NrNLFwaTu0NQs=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=EuwLi3Wsb+MqI4CwwC4FhKX6d5WwI2ybNOj/5MuSvxI6/vIw5KjJNj7SOHWaF7xWP 7/kNHf5o3Ffcgm4p/VVxdpJqUH3EJNe86+vh1BqqY7ZhCy5hiFvOKlnkjXUSjMrnLY TpfeTMqyjgxKcPH5OnsEQob9cYGs/9MgD16izOo7uT007RyViER34epHaijunTvuQC YBemI8mFRzIfVOT3feMiGg4Uj8zG2myyD+7RKifvOKJY8RnRp2kOMq+qiFbo97Su3n DsxMGnSvyT/bHP+YzYVOpXcwcKW98E+plIXhLoJm7XWk1nsTJJRDFt608azCtvyctH /dhTaCpxLWRWg== X-Nifty-SrcIP: [222.158.160.188] In-Reply-To: <0cc7fab4-9a2c-6a8d-def7-36bd50317ca3@yandex.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 210.131.2.90 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:209713 Archived-At: On 2016/11/29 19:08, Dmitry Gutov wrote: > You encode it to a unibyte string using encode-coding-string. (let* ((content (encode-coding-string "ほげ <- VALID utf-8 Japanese multibyte text" 'us-ascii)) => The following text was POSTed. ?? <- VALID utf-8 Japanese multibyte text ^^Two question marks (let* ((content (encode-coding-string "ほげ <- VALID utf-8 Japanese multibyte text" 'raw-text)) => url-http-create-request: Multibyte text in HTTP request: POST /gists HTTP/1.1 I tried various things but I do not know how to do it ...