This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home. For a version of this page that may be more recent, see BlobIoShinn in WG2's repo for R7RS-large.

Blob­Io­Shinn

cowan
2011-06-29 08:57:49
2history
source

To work with mixed binary/textual I/O, the following R6RS-compatible procedures are proposed:

It's an error to pass invalid bytes to utf8->string. A plausible recovery strategy is to convert each invalid byte into a U+FFFD character.