Skip to content
Snippets Groups Projects
Commit a2c7d052 authored by rtoy's avatar rtoy
Browse files

Document change to *default-external-format* and stream:set-system-external-format.

parent 94ed0111
No related branches found
No related tags found
No related merge requests found
...@@ -73,15 +73,21 @@ external formats to convert to and from the external world to ...@@ -73,15 +73,21 @@ external formats to convert to and from the external world to
\cmucl{}'s string format. The external format is specified in several \cmucl{}'s string format. The external format is specified in several
ways. The standard streams \var{*standard-input*}, ways. The standard streams \var{*standard-input*},
\var{*standard-output*}, and \var{*standard-error*} take the format \var{*standard-output*}, and \var{*standard-error*} take the format
from the value specified by \var{*default-external-format*}. If from the value specified by \var{*default-external-format*}. The
\var{*default-external-format*} is changed, these streams will now default value of \var{*default-external-format*} is \kwd{iso8859-1}.
expect input using the new format and will produce output using
the new format.
For files, \code{OPEN} takes the \kwd{external-format} For files, \code{OPEN} takes the \kwd{external-format}
parameter to specify the format. The default external format is parameter to specify the format. The default external format is
\kwd{default}. \kwd{default}.
\begin{defun}{stream}{set-system-external-format}{\var{terminal} \ampoptional \var{filenames}}
This function changes the external format used for
\var{*standard-input*}, \var{*standard-output*}, and
\var{*standard-error*} to the external format specified by
\var{terminal}. Additionally, the Unix file name encoding can be
set to the value specified by \var{filenames} if non-\nil.
\end{defun}
\subsection{Available External Formats} \subsection{Available External Formats}
The available external formats are listed below in The available external formats are listed below in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment