guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: http-client port encoding failed


From: mbcladwell
Subject: Re: http-client port encoding failed
Date: Tue, 08 Sep 2020 09:26:57 -0500
User-agent: Horde Application Framework 5


Not sure I am doing exactly what you suggest but the following (based on your suggestion) seems to work:

(define auth "Marjanović+Ž")
(http-request (string-append "https://......&term="; auth "[auth]&retmax=20")) ===> error!! Throw to key `encoding-error' with args `("put-char" "conversion to port encoding failed" 84 #<input-output: string 7f9a247d75b0> #\ć)'.

(define authencode (uri-encode "Marjanović+Ž")) ===> "Marjanovi%C4%87%2B%C5%BD" (http-request (string-append "https://....&term="; authencode "[auth]&retmax=20")) ===>success!!

Thanks
Mortimer






reply via email to

[Prev in Thread] Current Thread [Next in Thread]