GNU bug report logs - #11197
problems with string ports and unicode

Previous Next

Package: guile;

Reported by: Klaus Stehle <klaus.stehle <at> uni-tuebingen.de>

Date: Sat, 7 Apr 2012 20:09:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: ludo <at> gnu.org (Ludovic Courtès)
To: Klaus Stehle <klaus.stehle <at> uni-tuebingen.de>
Cc: 11197 <at> debbugs.gnu.org
Subject: bug#11197: problems with string ports and unicode
Date: Mon, 09 Apr 2012 23:12:29 +0200
Hi,

It may be that your string ports are created with a non-Unicode-capable
encoding.  Try something like:

  (define p
    (with-fluids ((%default-port-encoding "UTF-8"))
      (open-input-string "čtyří")))

More details in the manual (info "(guile) String Ports").

How does it work for you?

Ludo’.




This bug report was last modified 12 years and 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.