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#18520: string ports should not have an encoding Date: Mon, 22 Sep 2014 13:54:29 +0200 Message-ID: <87k34vrhu2.fsf@gnu.org> References: <87iokgmttc.fsf@fencepost.gnu.org> 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 1411387758 10719 80.91.229.3 (22 Sep 2014 12:09:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Sep 2014 12:09:18 +0000 (UTC) Cc: 18520@debbugs.gnu.org To: David Kastrup Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon Sep 22 14:09:11 2014 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 1XW2QY-0004be-Di for guile-bugs@m.gmane.org; Mon, 22 Sep 2014 14:09:10 +0200 Original-Received: from localhost ([::1]:45360 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XW2QX-0006Aj-Qo for guile-bugs@m.gmane.org; Mon, 22 Sep 2014 08:09:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XW2D5-0007yx-SZ for bug-guile@gnu.org; Mon, 22 Sep 2014 07:55:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XW2Cy-00038v-9h for bug-guile@gnu.org; Mon, 22 Sep 2014 07:55:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XW2Cy-00034L-5R for bug-guile@gnu.org; Mon, 22 Sep 2014 07:55:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XW2Cs-0003qY-GN for bug-guile@gnu.org; Mon, 22 Sep 2014 07:55: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: Mon, 22 Sep 2014 11:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18520 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 18520-submit@debbugs.gnu.org id=B18520.141138687414743 (code B ref 18520); Mon, 22 Sep 2014 11:55:02 +0000 Original-Received: (at 18520) by debbugs.gnu.org; 22 Sep 2014 11:54:34 +0000 Original-Received: from localhost ([127.0.0.1]:48154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XW2CP-0003pj-NQ for submit@debbugs.gnu.org; Mon, 22 Sep 2014 07:54:33 -0400 Original-Received: from hera.aquilenet.fr ([141.255.128.1]:55615) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XW2CM-0003pX-N0 for 18520@debbugs.gnu.org; Mon, 22 Sep 2014 07:54:31 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 298F43ADB; Mon, 22 Sep 2014 13:54:29 +0200 (CEST) Original-Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z5jErDYIKZsY; Mon, 22 Sep 2014 13:54:29 +0200 (CEST) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id C9F423AD4; Mon, 22 Sep 2014 13:54:28 +0200 (CEST) In-Reply-To: <87iokgmttc.fsf@fencepost.gnu.org> (David Kastrup's message of "Mon, 22 Sep 2014 01:34:39 +0200") User-Agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux) 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: 140.186.70.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:7566 Archived-At: This has been addressed in two ways: 1. In 2.0, (srfi srfi-6) uses Unicode-capable string ports (commit ecb48dc.) 2. In 2.2, string ports are always Unicode-capable, and =E2=80=98%default-port-encoding=E2=80=99 is ignored (commit 6dce942.) So for 2.0, the workaround is to either use (srfi srfi-6), or force =E2=80=98%default-port-encoding=E2=80=99 to "UTF-8". HTH, Ludo=E2=80=99.