3.3.3 Changes to Common Lisp stream operations

3.3.3.1 OPEN and MAKE-LISP-STREAM

The Common Lisp functionopen and the Liquid Common Lisp functionmake-lisp-stream take an:element-type keyword argument that specifies the type of the unit of transaction for the stream. This argument can have one of'character,'base-character, or'augmented-character as its value.

Normally, bits and font attributes are ignored during character I/O operations. To retain the bits and font attributes, specify'augmented-character as the value of the:element-type keyword argument.

The default value of the:element-type keyword argument is the value of the variable*default-character-element-type*.

The functionopen also takes an:external-format keyword option that provides the name of the external encoding scheme for characters. Together with:element-type,:external-format supplies sufficient information for Lisp to map text input into internal character objects. The default value for the:external-format keyword argument is:default.

When the:element-type keyword argument is'character, the:external-format keyword argument is set to the value of the variable*default-external-format*. See Table 3.1 on page 25 for the initial value of this variable.

When the:element-type keyword argument is'base-character, the:external-format keyword argument is set to the value of the variable*default-base-external-format*. See Table 3.2 on page 25 for the initial value of this variable.


International Character Sets - 9 SEP 1996

Generated with Harlequin WebMaker