Tells the FLI what default conversions to use when passing strings and characters to C.
fli
set-locale-encodings mb wc => mb
mb⇩ |
An external format specification. |
wc⇩ |
An external format specification, or nil . |
mb |
An external format specification. |
The function set-locale-encodings
changes the default encodings used by those FLI functions and types which convert strings and characters and accept an :external-format
argument.
mb is set as the external format for multi-byte encodings.
If wc is non-nil, then it is set as the external format for wide-character encodings, such as :ef-wc-string.
set-locale calls set-locale-encodings
after successfully setting the C locale.
convert-from-foreign-string
convert-to-foreign-string
:ef-mb-string
:ef-wc-string
set-locale
with-foreign-string
Foreign Language Interface User Guide and Reference Manual - 01 Dec 2021 19:34:58