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’.



Reply via email to