From a2c7d052ff6ad58e2dfba44edf73e1782b3311f5 Mon Sep 17 00:00:00 2001 From: rtoy <rtoy> Date: Mon, 10 Aug 2009 18:24:05 +0000 Subject: [PATCH] Document change to *default-external-format* and stream:set-system-external-format. --- docs/cmu-user/unicode.tex | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/cmu-user/unicode.tex b/docs/cmu-user/unicode.tex index fa4d56b16..f49f29a59 100644 --- a/docs/cmu-user/unicode.tex +++ b/docs/cmu-user/unicode.tex @@ -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 ways. The standard streams \var{*standard-input*}, \var{*standard-output*}, and \var{*standard-error*} take the format -from the value specified by \var{*default-external-format*}. If -\var{*default-external-format*} is changed, these streams will now -expect input using the new format and will produce output using -the new format. +from the value specified by \var{*default-external-format*}. The +default value of \var{*default-external-format*} is \kwd{iso8859-1}. For files, \code{OPEN} takes the \kwd{external-format} parameter to specify the format. The default external format is \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} The available external formats are listed below in -- GitLab