A character type. This can take any of the values
base-char
;
lw:simple-char
and
character
The function
set-default-character-element-type
sets the value of
lw:*default-character-element-type*
, ensuring that the system's internal state is also updated accordingly.
If you are running an existing 8-bit application you will only need to have this in your site or user configuration file:
(lw:set-default-character-element-type 'base-char)
It would be a mistake to call this function in a loadable package and it is not intended to be called while running code. In particular, it is global, not thread-specific.
Hence we consider
lw:*default-character-element-type*
a parameter.
string
open
*default-character-element-type*
with-output-to-string
Controlling string construction
LispWorks User Guide and Reference Manual - 21 Dec 2011