Subject: bug#24117: 25.1; url-http-create-request: Multibyte text in HTTP request

From: Dmitry Gutov <[email-masked]>
Date: Thu, 11 Aug 2016 04:31:04 +0300

On 08/10/2016 09:50 AM, Dmitry Gutov wrote:
> On 08/09/2016 12:39 PM, Lars Ingebrigtsen wrote:
>
>> I don't know.  I don't think `url-encode-url' has ever really worked in
>> any sensible way in the presence of non-ASCII.
>
> My point is, you're saying that url-generic-parse-url should accept (and
> handle properly) multibyte URLs. But url-encode-url still encodes the
> URL string before passing it to url-generic-parse-url.

By the way, one consequence of the current implementation is that the 
set-buffer-multibyte patch proposed earlier does not break url-retrieve 
on multibyte URLs, on master. So it has one benefit, at least.

Does that assuage your concerns with the patch?