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

From: Dmitry Gutov <[email-masked]>
Date: Mon, 8 Aug 2016 22:46:37 +0300

On 08/08/2016 06:54 PM, Lars Ingebrigtsen wrote:

> It's be sad if
>
> (url-generic-parse-url "http://góogle.com/fóo")
>
> stopped working.

Why don't you pass the url string through `url-encode-url' first?

url-retrieve-internal does that.

> This function is Emacs' workhorse for chopping up URLs, and it's a very
> useful function.  There's a bunch of hand-rolled URL parsing
> implementations that don't quite work right.