3.3 Streams and I/O

3.3.3 Changes to Common Lisp stream operations

Some changes have been made to Common Lisp stream operations to allow the use of multiple character sets.

If you know that a file contains only single-byte characters, you can improve the efficiency of stream operations by specifying the value of the:element-type keyword argument as'base-character. If a file can contain either single-byte or double-byte characters, specify the value as'character so that the stream can correctly read both single-byte and double-byte characters.

To retain bits and font attributes in a file, specify the value of the:element-type keyword argument as'augmented-character. In this case, characters are written in a binary format and the:external-format keyword argument is ignored.

3.3.3.1 - OPEN and MAKE-LISP-STREAM
3.3.3.2 - MAKE-STRING-OUTPUT-STREAM and WITH-OUTPUT-TO-STRING

International Character Sets - 9 SEP 1996

Generated with Harlequin WebMaker