From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.bugs Subject: bug#21221: guile-2.2 socket ports used with display does not send utf8 ! Date: Fri, 30 Oct 2015 00:11:03 +0100 Message-ID: <87vb9p2rug.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1446160345 2158 80.91.229.3 (29 Oct 2015 23:12:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Oct 2015 23:12:25 +0000 (UTC) Cc: 21221@debbugs.gnu.org To: Linas Vepstas Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Oct 30 00:12:14 2015 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZrwMf-00072M-02 for guile-bugs@m.gmane.org; Fri, 30 Oct 2015 00:12:13 +0100 Original-Received: from localhost ([::1]:47486 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrwMe-0001Bn-7c for guile-bugs@m.gmane.org; Thu, 29 Oct 2015 19:12:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrwMZ-0001BU-TO for bug-guile@gnu.org; Thu, 29 Oct 2015 19:12:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrwMU-0000Zo-PU for bug-guile@gnu.org; Thu, 29 Oct 2015 19:12:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrwMU-0000Zk-N2 for bug-guile@gnu.org; Thu, 29 Oct 2015 19:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZrwMU-00089c-9e for bug-guile@gnu.org; Thu, 29 Oct 2015 19:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 29 Oct 2015 23:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21221 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 21221-submit@debbugs.gnu.org id=B21221.144616027231280 (code B ref 21221); Thu, 29 Oct 2015 23:12:02 +0000 Original-Received: (at 21221) by debbugs.gnu.org; 29 Oct 2015 23:11:12 +0000 Original-Received: from localhost ([127.0.0.1]:44877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZrwLg-00088R-CA for submit@debbugs.gnu.org; Thu, 29 Oct 2015 19:11:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50515) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZrwLf-00088K-69 for 21221@debbugs.gnu.org; Thu, 29 Oct 2015 19:11:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZrwLa-0000Jv-8p for 21221@debbugs.gnu.org; Thu, 29 Oct 2015 19:11:11 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZrwLa-0000Jr-5Z; Thu, 29 Oct 2015 19:11:06 -0400 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]:59218 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZrwLZ-0006he-CX; Thu, 29 Oct 2015 19:11:05 -0400 In-Reply-To: (Linas Vepstas's message of "Sat, 8 Aug 2015 21:20:54 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7869 Archived-At: Linas Vepstas skribis: > The following simple client-server program fails for me. > For simplicity, for the server, just use netcat listening on port 7777: > > $ nc -l 7777 > > In a guile shell, try this: > (setlocale LC_ALL "") > (define sss (socket PF_INET SOCK_STREAM 0)) > (set-port-encoding! sss "utf-8") > (connect sss AF_INET (inet-pton AF_INET "127.0.0.1") 7777) > (set-port-encoding! sss "utf-8") > (display "Sm=C3=A5landSm=C3=A5land\n" sss) > (close-port sss) I can confirm this bug with commit 00884bb. Guile 2.0.11ish is unaffected though. Ludo=E2=80=99.