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

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 08 Aug 2016 22:19:53 +0200

Dmitry Gutov <[email-masked]> writes:

>> (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.

(url-encode-url "http://góogle.com/fóo")
=> "http://góogle.com/f%C3%B3o"

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no