From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: mbcladwell@stihie.net Newsgroups: gmane.lisp.guile.user Subject: http-client port encoding failed Date: Fri, 04 Sep 2020 14:35:45 -0500 Message-ID: <20200904143545.Horde.ifPsqyXMMJ1PsdBw6X4d2Fh@www.stihie.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36133"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Horde Application Framework 5 To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Sep 04 21:36:11 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEHVL-0009Jr-09 for guile-user@m.gmane-mx.org; Fri, 04 Sep 2020 21:36:11 +0200 Original-Received: from localhost ([::1]:55940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEHVK-000658-2H for guile-user@m.gmane-mx.org; Fri, 04 Sep 2020 15:36:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEHVB-00064v-CA for guile-user@gnu.org; Fri, 04 Sep 2020 15:36:01 -0400 Original-Received: from gateway33.websitewelcome.com ([192.185.146.97]:16655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEHV9-00044c-Cv for guile-user@gnu.org; Fri, 04 Sep 2020 15:36:00 -0400 Original-Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 3C9043628C for ; Fri, 4 Sep 2020 14:35:46 -0500 (CDT) Original-Received: from gator3135.hostgator.com ([50.87.144.171]) by cmsmtp with SMTP id EHUvkJPHkCjCVEHUwkzxsG; Fri, 04 Sep 2020 14:35:46 -0500 X-Authority-Reason: nr=8 Original-Received: from [50.87.144.171] (port=15548 helo=gator3135.hostgator.com) by gator3135.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1kEHUv-000XRh-Nh for guile-user@gnu.org; Fri, 04 Sep 2020 14:35:45 -0500 Original-Received: from [100.0.196.207] ([100.0.196.207]) by www.stihie.net (Horde Framework) with HTTPS; Fri, 04 Sep 2020 14:35:45 -0500 Content-Disposition: inline X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3135.hostgator.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stihie.net X-BWhitelist: no X-Source-IP: 50.87.144.171 X-Source-L: Yes X-Exim-ID: 1kEHUv-000XRh-Nh X-Source-Sender: (gator3135.hostgator.com) [50.87.144.171]:15548 X-Source-Auth: mbcladwell@stihie.net X-Email-Count: 1 X-Source-Cap: cGxhcGFuO3BsYXBhbjtnYXRvcjMxMzUuaG9zdGdhdG9yLmNvbQ== X-Local-Domain: yes Received-SPF: pass client-ip=192.185.146.97; envelope-from=mbcladwell@stihie.net; helo=gateway33.websitewelcome.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/04 15:35:46 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:16847 Archived-At: Hi, I am using http-client to submit requests that contain extended Latin characters e.g. "Marjanović+Ž". I believe I have locales set up properly as I don't receive the "can't set locales" error. Also I can regex with the extended Latin characters. scheme@(guile-user)> (locale-encoding) $11 = "UTF-8" When I submit a url containing the above Serbian name, I get the error: Throw to key `encoding-error' with args `("put-char" "conversion to port encoding failed" 84 # #\ć)'. If I paste the URL into my browser I receive the correct response. Prior to the request I use (set-port-encoding! (current-output-port) "UTF-8") without effect. What should I do? Thanks Mortimer