LispWorks User Guide and Reference Manual > 41 Miscellaneous WIN32 symbols

NextPrevUpTopContentsIndex

*latin-1-code-pages*

Variable
Summary

Windows Code Pages for which Latin-1 encoded files are used.

Package

win32

Initial Value

(1252 28591)

Description

The value of *latin-1-code-pages* is a list of integers, which must be Windows code page identifiers. When the current Code Page is on this list, the default file encoding detection algorithm will cause
(:latin-1 :encoding-error-action 63) to be used for file I/O. Files will be written as Latin-1 with '?' replacing any non-Latin-1 character. This is faster than converting to the code page.

If safe-locale-file-encoding is used for file encoding detection, then the :latin-1-safe external format will be used.

Note: the LispWorks editor binds *latin-1-code-pages* to nil when reading and writing files, in order to ensure that code page characters outside of Latin-1 are handled regardless of the configuration of open.

See also

*file-encoding-detection-algorithm*


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex