All Manuals > LispWorks Foreign Language Interface User Guide and Reference Manual > 7 Function, Macro and Variable Reference

NextPrevUpTopContentsIndex

set-locale-encodings

Function
Summary

Tells the FLI what default conversions to use when passing strings and characters to C.

Package

fli

Signature

set-locale-encodings mb wc => mb

Arguments

mb

An external format specification.

wc

An external format specification, or nil..

Description

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.

set-locale calls set-locale-encodings after successfully setting the C locale.

See also

convert-from-foreign-string
convert-to-foreign-string
:ef-mb-string
:ef-wc-string
set-locale
with-foreign-string


LispWorks Foreign Language Interface User Guide and Reference Manual - 29 Sep 2017

NextPrevUpTopContentsIndex