Warning: This is the manual of the legacy Guile 2.0 series. You may want to read the manual of the current stable series instead.

Next: , Previous: , Up: SRFI Support   [Contents][Index]

7.5.6 SRFI-6 - Basic String Ports

SRFI-6 defines the procedures open-input-string, open-output-string and get-output-string.

Note that although versions of these procedures are included in the Guile core, the core versions are not fully conformant with SRFI-6: attempts to read or write characters that are not supported by the current %default-port-encoding will fail.

We therefore recommend that you import this module, which supports all characters:

(use-modules (srfi srfi-6))