Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the asdf-encodings Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Aug 15 03:12:43 2022 GMT+0.
Next: Systems, Previous: The asdf-encodings Reference Manual, Up: The asdf-encodings Reference Manual [Contents][Index]
ASDF-ENCODINGS This library allows you to use ASDF with Lisp source files that use an encoding different from either ASCII or UTF-8. It depends on ASDF 2.21 or later (actually 2.20.18 or later). TODO: (1) actually support more implementations. (2) Add a test suite. (3) Test it. (4) Add more corner cases. ==== Exported Functionality ==== The asdf-encodings defines a package ASDF-ENCODINGS. It uses ASDF 2.21's asdf:*encoding-external-format-hook* to define a simple mapping from encodings specified as portable keywords to implementation-defined external formats. It issues warnings or errors when no matching external-format is available, depending on asdf-encodings. function ENCODING-EXTERNAL-FORMAT (ENCODING &KEY (ON-ERROR *ON-UNSUPPORTED-ENCODING*)) This function takes a keyword which is one of :default :utf-8 :utf8 :latin1 :latin-1 :iso-8859-1 a whole lot of other possibilities as per asdf-encodings::*encodings* and returns a value suitable for use as :external-format argument to the current implementation's CL:OPEN, CL:LOAD or CL:COMPILE-FILE functions. If the encoding is not supported on this implementation, the ON-ERROR argument, which is one of :ERROR, :WARN, NIL, specifies what to do. variable *ON-UNSUPPORTED-ENCODING* One of :error, :warn or nil, specifies what to do when passed an unsupported encoding. Defaults to :error. function DETECT-FILE-ENCODING (PATHNAME) This function takes a pathname designator, and returns a portable encoding as detected by the file contents, either an emacs-style -*- coding: foo -*- declaration, or something deduced from the octet patterns in the file. function NORMALIZE-ENCODING (ENCODING) Given a portable encoding keyword, returns the normalized keyword describing that encoding on the current implementations, if any, or NIL if the encoding is not present on the implementation (or not recognized by asdf-encodings). function FIND-IMPLEMENTATION-ENCODING (ENCODING) Given a normalized encoding keyword, returns an external-format suitable for use on the current implementation, if any.
Next: Files, Previous: Introduction, Up: The asdf-encodings Reference Manual [Contents][Index]
The main system appears first, followed by any subsystem dependency.
Portable interface to character encodings and your implementation’s external-format
Francois-Rene Rideau
asdf (system)., at least version "3.0"
Next: Packages, Previous: Systems, Up: The asdf-encodings Reference Manual [Contents][Index]
Files are sorted by type and then listed depth-first from the systems components trees.
Next: asdf-encodings/pkgdcl.lisp, Previous: Lisp, Up: Lisp [Contents][Index]
asdf-encodings (system).
Next: asdf-encodings/encodings.lisp, Previous: asdf-encodings/asdf-encodings.asd, Up: Lisp [Contents][Index]
asdf-encodings (system).
Next: asdf-encodings/autodetect.lisp, Previous: asdf-encodings/pkgdcl.lisp, Up: Lisp [Contents][Index]
pkgdcl.lisp (file).
asdf-encodings (system).
Next: asdf-encodings/asdf-support.lisp, Previous: asdf-encodings/encodings.lisp, Up: Lisp [Contents][Index]
pkgdcl.lisp (file).
asdf-encodings (system).
detect-file-encoding (function).
Next: asdf-encodings/initialization.lisp, Previous: asdf-encodings/autodetect.lisp, Up: Lisp [Contents][Index]
pkgdcl.lisp (file).
asdf-encodings (system).
register-asdf-encodings (function).
Previous: asdf-encodings/asdf-support.lisp, Up: Lisp [Contents][Index]
asdf-encodings (system).
Next: Definitions, Previous: Files, Up: The asdf-encodings Reference Manual [Contents][Index]
Packages are listed by definition order.
Next: Indexes, Previous: Packages, Up: The asdf-encodings Reference Manual [Contents][Index]
Definitions are sorted by export status, category, package, and then by lexicographic order.
Next: Internals, Previous: Definitions, Up: Definitions [Contents][Index]
Next: Ordinary functions, Previous: Public Interface, Up: Public Interface [Contents][Index]
One of :error, :warn or nil, specifies what to do when passed an unsupported encoding.
Previous: Special variables, Up: Public Interface [Contents][Index]
Previous: Public Interface, Up: Definitions [Contents][Index]
Next: Ordinary functions, Previous: Internals, Up: Internals [Contents][Index]
Previous: Special variables, Up: Internals [Contents][Index]
Previous: Definitions, Up: The asdf-encodings Reference Manual [Contents][Index]
Jump to: | D E F I N R |
---|
Jump to: | D E F I N R |
---|
Next: Data types, Previous: Functions, Up: Indexes [Contents][Index]
Jump to: | *
S |
---|
Jump to: | *
S |
---|
Jump to: | A E F I P S |
---|
Jump to: | A E F I P S |
---|