bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11197: problems with string ports and unicode


From: Ludovic Courtès
Subject: bug#11197: problems with string ports and unicode
Date: Mon, 09 Apr 2012 23:12:29 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]