Subject: Re: bug#18520: string ports should not have an encoding

From: [email-masked] (Ludovic Courtès)
Date: Mon, 22 Sep 2014 13:54:29 +0200

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
     ‘%default-port-encoding’ is ignored (commit 6dce942.)

So for 2.0, the workaround is to either use (srfi srfi-6), or force
‘%default-port-encoding’ to "UTF-8".

HTH,
Ludo’.