The babel Reference Manual

This is the babel Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 04:20:59 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 babel

Babel, a charset conversion library.

Author

Luis Oliveira <>

License

MIT

Dependencies
  • trivial-features (system).
  • alexandria (system).
Source

babel.asd.

Child Component

src (module).


3 Modules

Modules are listed depth-first from the system components tree.


3.1 babel/src

Source

babel.asd.

Parent Component

babel (system).

Child Components

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


4.1 Lisp


4.1.1 babel/babel.asd

Source

babel.asd.

Parent Component

babel (system).

ASDF Systems

babel.


4.1.2 babel/src/packages.lisp

Source

babel.asd.

Parent Component

src (module).

Packages

4.1.3 babel/src/encodings.lisp

Dependency

packages.lisp (file).

Source

babel.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.4 babel/src/enc-ascii.lisp

Dependency

encodings.lisp (file).

Source

babel.asd.

Parent Component

src (module).


4.1.5 babel/src/enc-ebcdic.lisp

Dependency

enc-ascii.lisp (file).

Source

babel.asd.

Parent Component

src (module).

Internals

4.1.6 babel/src/enc-ebcdic-int.lisp

Dependency

enc-ebcdic.lisp (file).

Source

babel.asd.

Parent Component

src (module).

Internals

4.1.7 babel/src/enc-iso-8859.lisp

Dependency

enc-ebcdic-int.lisp (file).

Source

babel.asd.

Parent Component

src (module).

Internals

4.1.8 babel/src/enc-unicode.lisp

Dependency

enc-iso-8859.lisp (file).

Source

babel.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.9 babel/src/enc-cp437.lisp

Dependency

enc-unicode.lisp (file).

Source

babel.asd.

Parent Component

src (module).

Internals

+cp437-to-unicode+ (constant).


4.1.10 babel/src/enc-cp1251.lisp

Dependency

enc-cp437.lisp (file).

Source

babel.asd.

Parent Component

src (module).

Internals

4.1.11 babel/src/enc-cp1252.lisp

Dependency

enc-cp1251.lisp (file).

Source

babel.asd.

Parent Component

src (module).

Internals

4.1.12 babel/src/jpn-table.lisp

Dependency

enc-cp1252.lisp (file).

Source

babel.asd.

Parent Component

src (module).

Internals

4.1.13 babel/src/enc-jpn.lisp

Dependency

jpn-table.lisp (file).

Source

babel.asd.

Parent Component

src (module).

Internals

4.1.14 babel/src/enc-gbk.lisp

Dependency

enc-jpn.lisp (file).

Source

babel.asd.

Parent Component

src (module).

Internals

4.1.15 babel/src/enc-koi8.lisp

Dependency

enc-gbk.lisp (file).

Source

babel.asd.

Parent Component

src (module).

Internals

4.1.16 babel/src/external-format.lisp

Dependency

enc-koi8.lisp (file).

Source

babel.asd.

Parent Component

src (module).

Public Interface
Internals

eol-style (type).


4.1.17 babel/src/strings.lisp

Dependency

external-format.lisp (file).

Source

babel.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.18 babel/src/gbk-map.lisp

Dependency

strings.lisp (file).

Source

babel.asd.

Parent Component

src (module).

Internals

*gbk-unicode-mapping* (special variable).


4.1.19 babel/src/sharp-backslash.lisp

Dependency

gbk-map.lisp (file).

Source

babel.asd.

Parent Component

src (module).

Public Interface
Internals

5 Packages

Packages are listed by definition order.


5.1 babel

Source

packages.lisp.

Use List
Public Interface
Internals

5.2 babel-encodings

Source

packages.lisp.

Use List
  • alexandria.
  • common-lisp.
Used By List

babel.

Public Interface
Internals

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


6.1 Public Interface


6.1.1 Constants

Constant: unicode-char-code-limit

An alias for CL:CHAR-CODE-LIMIT which might be lower than #x110000 on some Lisps.

Package

babel.

Source

strings.lisp.


6.1.2 Special variables

Special Variable: *default-character-encoding*

Special variable used to determine the default character encoding.

Package

babel-encodings.

Source

encodings.lisp.

Special Variable: *default-eol-style*

The end-of-line style used by external formats if none is explicitly given. Depends on the OS the code is compiled on.

Package

babel.

Source

external-format.lisp.

Special Variable: *suppress-character-coding-errors*

If non-NIL, encoding or decoding errors are suppressed and the the current character encoding’s default replacement character is used.

Package

babel-encodings.

Source

encodings.lisp.


6.1.3 Macros

Macro: enable-sharp-backslash-syntax ()
Package

babel.

Source

sharp-backslash.lisp.

Macro: instantiate-concrete-mappings (&key encodings optimize octet-seq-getter octet-seq-setter octet-seq-type code-point-seq-getter code-point-seq-setter code-point-seq-type instantiate-decoders)
Package

babel-encodings.

Source

encodings.lisp.

Macro: with-checked-simple-vector (((v vector) (s start) (e end)) &body body)

Like WITH-SIMPLE-VECTOR but bound-checks START and END.

Package

babel-encodings.

Source

strings.lisp.

Macro: with-simple-vector (((v vector) (s start) (e end)) &body body)

If VECTOR is a displaced or adjustable array, binds V to the underlying simple vector, adds an adequate offset to START and END and binds those offset values to S and E. Otherwise, if VECTOR is already a simple array, it’s simply bound to V with no further changes.

START and END are unchecked and assumed to be within bounds.

Note that in some Lisps, a slow copying implementation is necessary to obtain a simple vector thus V will be bound to a copy of VECTOR coerced to a simple-vector. Therefore, you shouldn’t attempt to modify V.

Package

babel-encodings.

Source

strings.lisp.


6.1.4 Ordinary functions

Function: concatenate-strings-to-octets (encoding &rest strings)

Optimized equivalent of
(string-to-octets (apply #’concatenate ’string strings) :encoding encoding)

Package

babel.

Source

strings.lisp.

Function: ensure-external-format (thing)
Package

babel.

Source

external-format.lisp.

Function: external-format-equal (ef1 ef2)
Package

babel.

Source

external-format.lisp.

Function: get-character-encoding (name)

Lookups the character encoding denoted by the keyword symbol NAME. Signals an error if one is not found. If NAME is already a CHARACTER-ENCONDING object, it is returned unmodified.

Package

babel-encodings.

Source

encodings.lisp.

Function: list-character-encodings ()

List of keyword symbols denoting supported character encodings. This list does not include aliases.

Package

babel-encodings.

Source

encodings.lisp.

Function: lookup-mapping (ht encoding)

HT should be an hashtable created by INSTANTIATE-CONCRETE-MAPPINGS. ENCODING should be either an external format, an encoding object or a keyword symbol denoting a character encoding name or one of its aliases.

Package

babel-encodings.

Source

external-format.lisp.

Function: make-external-format (encoding &key eol-style)
Package

babel.

Source

external-format.lisp.

Function: octets-to-string (vector &key start end errorp encoding)
Package

babel.

Source

strings.lisp.

Function: set-sharp-backslash-syntax-in-readtable ()
Package

babel.

Source

sharp-backslash.lisp.

Function: string-size-in-octets (string &key start end max errorp encoding)
Package

babel.

Source

strings.lisp.

Function: string-to-octets (string &key encoding start end use-bom errorp)
Package

babel.

Source

strings.lisp.

Function: vector-size-in-chars (vector &key start end max errorp encoding)
Package

babel.

Source

strings.lisp.


6.1.5 Generic functions

Generic Function: ambiguous-encoding-p (object)
Package

babel-encodings.

Methods
Method: ambiguous-encoding-p ((encoding symbol))
Source

encodings.lisp.

Reader Method: ambiguous-encoding-p ((character-encoding character-encoding))

automatically generated reader method

Source

encodings.lisp.

Target Slot

ambiguous.

Generic Reader: character-coding-error-buffer (condition)
Package

babel-encodings.

Methods
Reader Method: character-coding-error-buffer ((condition character-coding-error))
Source

encodings.lisp.

Target Slot

buffer.

Generic Reader: character-coding-error-encoding (condition)
Package

babel-encodings.

Methods
Reader Method: character-coding-error-encoding ((condition character-coding-error))
Source

encodings.lisp.

Target Slot

encoding.

Generic Reader: character-coding-error-position (condition)
Package

babel-encodings.

Methods
Reader Method: character-coding-error-position ((condition character-coding-error))
Source

encodings.lisp.

Target Slot

position.

Generic Reader: character-decoding-error-octets (condition)
Package

babel-encodings.

Methods
Reader Method: character-decoding-error-octets ((condition character-decoding-error))
Source

encodings.lisp.

Target Slot

octets.

Generic Reader: character-encoding-error-code (condition)
Package

babel-encodings.

Methods
Reader Method: character-encoding-error-code ((condition character-encoding-error))
Source

encodings.lisp.

Target Slot

code.

Generic Reader: code-point-counter (object)
Package

babel-encodings.

Methods
Reader Method: code-point-counter ((concrete-mapping concrete-mapping))

automatically generated reader method

Source

encodings.lisp.

Target Slot

code-point-counter.

Generic Writer: (setf code-point-counter) (object)
Package

babel-encodings.

Methods
Writer Method: (setf code-point-counter) ((concrete-mapping concrete-mapping))

automatically generated writer method

Source

encodings.lisp.

Target Slot

code-point-counter.

Generic Reader: decoder (object)
Package

babel-encodings.

Methods
Reader Method: decoder ((concrete-mapping concrete-mapping))

automatically generated reader method

Source

encodings.lisp.

Target Slot

decoder.

Generic Writer: (setf decoder) (object)
Package

babel-encodings.

Methods
Writer Method: (setf decoder) ((concrete-mapping concrete-mapping))

automatically generated writer method

Source

encodings.lisp.

Target Slot

decoder.

Generic Reader: enc-aliases (object)
Package

babel-encodings.

Methods
Reader Method: enc-aliases ((character-encoding character-encoding))

automatically generated reader method

Source

encodings.lisp.

Target Slot

aliases.

Generic Reader: enc-bom-encoding (object)
Package

babel-encodings.

Methods
Reader Method: enc-bom-encoding ((character-encoding character-encoding))

automatically generated reader method

Source

encodings.lisp.

Target Slot

bom-encoding.

Generic Reader: enc-code-unit-size (object)
Package

babel-encodings.

Methods
Reader Method: enc-code-unit-size ((character-encoding character-encoding))

automatically generated reader method

Source

encodings.lisp.

Target Slot

code-unit-size.

Generic Reader: enc-decode-literal-code-unit-limit (object)
Package

babel-encodings.

Methods
Reader Method: enc-decode-literal-code-unit-limit ((character-encoding character-encoding))

automatically generated reader method

Source

encodings.lisp.

Target Slot

decode-literal-code-unit-limit.

Generic Reader: enc-default-replacement (object)
Package

babel-encodings.

Methods
Reader Method: enc-default-replacement ((character-encoding character-encoding))

automatically generated reader method

Source

encodings.lisp.

Target Slot

default-replacement.

Generic Reader: enc-encode-literal-code-unit-limit (object)
Package

babel-encodings.

Methods
Reader Method: enc-encode-literal-code-unit-limit ((character-encoding character-encoding))

automatically generated reader method

Source

encodings.lisp.

Target Slot

encode-literal-code-unit-limit.

Generic Reader: enc-max-units-per-char (object)
Package

babel-encodings.

Methods
Reader Method: enc-max-units-per-char ((character-encoding character-encoding))

automatically generated reader method

Source

encodings.lisp.

Target Slot

max-units-per-char.

Generic Reader: enc-name (object)
Package

babel-encodings.

Methods
Reader Method: enc-name ((character-encoding character-encoding))

automatically generated reader method

Source

encodings.lisp.

Target Slot

name.

Generic Reader: enc-native-endianness (object)
Package

babel-encodings.

Methods
Reader Method: enc-native-endianness ((character-encoding character-encoding))

automatically generated reader method

Source

encodings.lisp.

Target Slot

native-endianness.

Generic Reader: enc-nul-encoding (object)
Package

babel-encodings.

Methods
Reader Method: enc-nul-encoding ((character-encoding character-encoding))

automatically generated reader method

Source

encodings.lisp.

Target Slot

nul-encoding.

Generic Reader: enc-use-bom (object)
Package

babel-encodings.

Methods
Reader Method: enc-use-bom ((character-encoding character-encoding))

automatically generated reader method

Source

encodings.lisp.

Target Slot

use-bom.

Generic Reader: encoder (object)
Package

babel-encodings.

Methods
Reader Method: encoder ((concrete-mapping concrete-mapping))

automatically generated reader method

Source

encodings.lisp.

Target Slot

encoder.

Generic Writer: (setf encoder) (object)
Package

babel-encodings.

Methods
Writer Method: (setf encoder) ((concrete-mapping concrete-mapping))

automatically generated writer method

Source

encodings.lisp.

Target Slot

encoder.

Generic Reader: external-format-encoding (object)
Package

babel.

Methods
Reader Method: external-format-encoding ((external-format external-format))

automatically generated reader method

Source

external-format.lisp.

Target Slot

encoding.

Generic Reader: external-format-eol-style (object)
Package

babel.

Methods
Reader Method: external-format-eol-style ((external-format external-format))

automatically generated reader method

Source

external-format.lisp.

Target Slot

eol-style.

Generic Reader: octet-counter (object)
Package

babel-encodings.

Methods
Reader Method: octet-counter ((concrete-mapping concrete-mapping))

automatically generated reader method

Source

encodings.lisp.

Target Slot

octet-counter.

Generic Writer: (setf octet-counter) (object)
Package

babel-encodings.

Methods
Writer Method: (setf octet-counter) ((concrete-mapping concrete-mapping))

automatically generated writer method

Source

encodings.lisp.

Target Slot

octet-counter.


6.1.6 Standalone methods

Method: initialize-instance :after ((enc character-encoding) &key literal-char-code-limit)
Source

encodings.lisp.

Method: print-object ((ef external-format) stream)
Source

external-format.lisp.


6.1.7 Conditions

Condition: character-coding-error
Package

babel-encodings.

Source

encodings.lisp.

Direct superclasses

error.

Direct subclasses
Direct methods
Direct slots
Slot: buffer
Initargs

:buffer

Readers

character-coding-error-buffer.

Writers

This slot is read-only.

Slot: position
Package

common-lisp.

Initargs

:position

Readers

character-coding-error-position.

Writers

This slot is read-only.

Slot: encoding
Initargs

:encoding

Readers

character-coding-error-encoding.

Writers

This slot is read-only.

Condition: character-decoding-error
Package

babel-encodings.

Source

encodings.lisp.

Direct superclasses

character-coding-error.

Direct subclasses
Direct methods

character-decoding-error-octets.

Direct slots
Slot: octets
Initargs

:octets

Readers

character-decoding-error-octets.

Writers

This slot is read-only.

Condition: character-encoding-error
Package

babel-encodings.

Source

encodings.lisp.

Direct superclasses

character-coding-error.

Direct subclasses

invalid-gbk-character.

Direct methods

character-encoding-error-code.

Direct slots
Slot: code
Initargs

:code

Readers

character-encoding-error-code.

Writers

This slot is read-only.

Condition: character-out-of-range

Signalled when the character being decoded is out of range.

Package

babel-encodings.

Source

encodings.lisp.

Direct superclasses

character-decoding-error.

Condition: end-of-input-in-character

Signalled by DECODERs or CODE-POINT-COUNTERs of variable-width character encodings.

Package

babel-encodings.

Source

encodings.lisp.

Direct superclasses

character-decoding-error.

Condition: invalid-utf8-continuation-byte

Signalled when an invalid UTF-8 continuation byte is found.

Package

babel-encodings.

Source

enc-unicode.lisp.

Direct superclasses

character-decoding-error.

Condition: invalid-utf8-starter-byte

Signalled when an invalid UTF-8 starter byte is found.

Package

babel-encodings.

Source

enc-unicode.lisp.

Direct superclasses

character-decoding-error.

Condition: overlong-utf8-sequence

Signalled upon overlong UTF-8 sequences.

Package

babel-encodings.

Source

enc-unicode.lisp.

Direct superclasses

character-decoding-error.


6.1.8 Classes

Class: character-encoding
Package

babel-encodings.

Source

encodings.lisp.

Direct methods
Direct slots
Slot: name
Initform

(error "must specify a name for this character encoding.")

Initargs

:name

Readers

enc-name.

Writers

This slot is read-only.

Slot: documentation
Package

common-lisp.

Initargs

:documentation

Readers

enc-documentation.

Writers

This slot is read-only.

Slot: aliases
Initargs

:aliases

Readers

enc-aliases.

Writers

This slot is read-only.

Slot: code-unit-size
Initform

8

Initargs

:code-unit-size

Readers

enc-code-unit-size.

Writers

This slot is read-only.

Slot: max-units-per-char
Initform

1

Initargs

:max-units-per-char

Readers

enc-max-units-per-char.

Writers

This slot is read-only.

Slot: native-endianness
Initform

t

Initargs

:native-endianness

Readers

enc-native-endianness.

Writers

This slot is read-only.

Slot: decode-literal-code-unit-limit
Initform

0

Initargs

:decode-literal-code-unit-limit

Readers

enc-decode-literal-code-unit-limit.

Writers

This slot is read-only.

Slot: encode-literal-code-unit-limit
Initform

0

Initargs

:encode-literal-code-unit-limit

Readers

enc-encode-literal-code-unit-limit.

Writers

This slot is read-only.

Slot: use-bom
Initargs

:use-bom

Readers

enc-use-bom.

Writers

This slot is read-only.

Slot: bom-encoding
Initargs

:bom-encoding

Readers

enc-bom-encoding.

Writers

This slot is read-only.

Slot: nul-encoding
Initform

#(0)

Initargs

:nul-encoding

Readers

enc-nul-encoding.

Writers

This slot is read-only.

Slot: default-replacement
Initform

26

Initargs

:default-replacement

Readers

enc-default-replacement.

Writers

This slot is read-only.

Slot: ambiguous
Initargs

:ambiguous

Readers

ambiguous-encoding-p.

Writers

This slot is read-only.

Class: external-format

An EXTERNAL-FORMAT consists in a combination of a Babel CHARACTER-ENCODING and an end-of-line style.

Package

babel.

Source

external-format.lisp.

Direct methods
Direct slots
Slot: encoding
Type

babel-encodings:character-encoding

Initargs

:encoding

Readers

external-format-encoding.

Writers

This slot is read-only.

Slot: eol-style
Type

babel::eol-style

Initform

babel:*default-eol-style*

Initargs

:eol-style

Readers

external-format-eol-style.

Writers

This slot is read-only.


6.1.9 Types

Type: simple-unicode-string ()

Alias for (SIMPLE-ARRAY UNICODE-CHAR (*)).

Package

babel.

Source

strings.lisp.

Type: unicode-char ()

This character type can hold any characters whose CHAR-CODEs are less than UNICODE-CHAR-CODE-LIMIT.

Package

babel.

Source

strings.lisp.

Type: unicode-string ()

Alias for (VECTOR UNICODE-CHAR *).

Package

babel.

Source

strings.lisp.


6.2 Internals


6.2.1 Constants

Constant: +byte-order-mark-code+
Package

babel-encodings.

Source

enc-unicode.lisp.

Constant: +cp1251-to-unicode+
Package

babel-encodings.

Source

enc-cp1251.lisp.

Constant: +cp1252-to-unicode+
Package

babel-encodings.

Source

enc-cp1252.lisp.

Constant: +cp437-to-unicode+
Package

babel-encodings.

Source

enc-cp437.lisp.

Constant: +default-substitution-code-point+

Default ASCII substitution character code point used in case of an encoding/decoding error.

Package

babel-encodings.

Source

encodings.lisp.

Constant: +ebcdic-decode-table+
Package

babel-encodings.

Source

enc-ebcdic.lisp.

Constant: +ebcdic-encode-table+
Package

babel-encodings.

Source

enc-ebcdic.lisp.

Constant: +gbk1-offset+
Package

babel-encodings.

Source

enc-gbk.lisp.

Constant: +gbk2-offset+
Package

babel-encodings.

Source

enc-gbk.lisp.

Constant: +gbk3-offset+
Package

babel-encodings.

Source

enc-gbk.lisp.

Constant: +gbk4-offset+
Package

babel-encodings.

Source

enc-gbk.lisp.

Constant: +gbk5-offset+
Package

babel-encodings.

Source

enc-gbk.lisp.

Constant: +iso-8859-10-to-unicode+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +iso-8859-13-to-unicode+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +iso-8859-14-to-unicode+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +iso-8859-15-to-unicode+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +iso-8859-16-to-unicode+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +iso-8859-2-to-unicode+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +iso-8859-3-to-unicode+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +iso-8859-4-to-unicode+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +iso-8859-5-to-unicode+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +iso-8859-6-to-unicode+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +iso-8859-7-to-unicode+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +iso-8859-8-to-unicode+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +iso-8859-9-to-unicode+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +koi8-r-to-unicode+
Package

babel-encodings.

Source

enc-koi8.lisp.

Constant: +koi8-ru-to-unicode+
Package

babel-encodings.

Source

enc-koi8.lisp.

Constant: +koi8-u-to-unicode+
Package

babel-encodings.

Source

enc-koi8.lisp.

Constant: +repl+

Unicode replacement character code point.

Package

babel-encodings.

Source

enc-unicode.lisp.

Constant: +swapped-byte-order-mark-code+
Package

babel-encodings.

Source

enc-unicode.lisp.

Constant: +swapped-byte-order-mark-code-32+
Package

babel-encodings.

Source

enc-unicode.lisp.

Constant: +unicode-0-97-to-cp1251+
Package

babel-encodings.

Source

enc-cp1251.lisp.

Constant: +unicode-00a0-0180-to-iso-8859-2+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-0152-017e-cp1252+
Package

babel-encodings.

Source

enc-cp1252.lisp.

Constant: +unicode-02c0-02e0-to-iso-8859-2+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-04->koi8-ru+
Package

babel-encodings.

Source

enc-koi8.lisp.

Constant: +unicode-10-3f-to-cp1251+
Package

babel-encodings.

Source

enc-cp1251.lisp.

Constant: +unicode-108-128-to-iso-8859-14+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-108-180-to-iso-8859-3+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-118-160-to-iso-8859-9+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-150-180-to-iso-8859-15+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-170-180-to-iso-8859-14+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-1e00-1e88-to-iso-8859-14+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-1ef0-1ef8-to-iso-8859-14+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-2008-2018-to-iso-8859-8+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-2010-2020-to-iso-8859-7+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-2013-203a-cp1252+
Package

babel-encodings.

Source

enc-cp1252.lisp.

Constant: +unicode-2018-2020-to-iso-8859-13+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-2018-2020-to-iso-8859-16+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-20ac-20b0-to-iso-8859-7+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-218-220-to-iso-8859-16+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-2c0-2e0-to-iso-8859-4+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-2d8-2e0-to-iso-8859-3+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-378-3d0-to-iso-8859-7+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-400-460-to-iso-8859-5+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-5d0-5f0-to-iso-8859-8+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-608-658-to-iso-8859-6+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-a0-100-to-iso-8859-14+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-a0-100-to-iso-8859-15+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-a0-100-to-iso-8859-3+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-a0-180-to-iso-8859-10+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-a0-180-to-iso-8859-13+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-a0-180-to-iso-8859-16+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-a0-180-to-iso-8859-4+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-a0-b0-to-iso-8859-5+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-a0-b0-to-iso-8859-6+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-a0-bf-to-cp1251+
Package

babel-encodings.

Source

enc-cp1251.lisp.

Constant: +unicode-a0-c0-to-iso-8859-7+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-a0-f8-to-iso-8859-8+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-d0-100-to-iso-8859-9+
Package

babel-encodings.

Source

enc-iso-8859.lisp.

Constant: +unicode-x04->koi8-r+
Package

babel-encodings.

Source

enc-koi8.lisp.

Constant: +unicode-x04->koi8-u+
Package

babel-encodings.

Source

enc-koi8.lisp.

Constant: +unicode-x25->koi8-r+
Package

babel-encodings.

Source

enc-koi8.lisp.

Constant: +unicode-x25->koi8-u+
Package

babel-encodings.

Source

enc-koi8.lisp.


6.2.2 Special variables

Special Variable: *abstract-mappings*
Package

babel-encodings.

Source

encodings.lisp.

Special Variable: *character-encodings*
Package

babel-encodings.

Source

encodings.lisp.

Special Variable: *cp932-only*
Package

babel-encodings.

Source

jpn-table.lisp.

Special Variable: *cp932-to-ucs-hash*
Package

babel-encodings.

Source

enc-jpn.lisp.

Special Variable: *eucjp*
Package

babel-encodings.

Source

jpn-table.lisp.

Special Variable: *eucjp-only*
Package

babel-encodings.

Source

jpn-table.lisp.

Special Variable: *eucjp-to-ucs-hash*
Package

babel-encodings.

Source

enc-jpn.lisp.

Special Variable: *gbk-unicode-mapping*
Package

babel-encodings.

Source

gbk-map.lisp.

Special Variable: *simple-base-string-vector-mappings*
Package

babel.

Source

strings.lisp.

Special Variable: *string-vector-mappings*
Package

babel.

Source

strings.lisp.

Special Variable: *supported-character-encodings*
Package

babel-encodings.

Source

encodings.lisp.

Special Variable: *ucs-to-cp932-hash*
Package

babel-encodings.

Source

enc-jpn.lisp.

Special Variable: *ucs-to-eucjp-hash*
Package

babel-encodings.

Source

enc-jpn.lisp.

Special Variable: +ebcdic-int-to-unicode+
Package

babel-encodings.

Source

enc-ebcdic-int.lisp.

Special Variable: +unicode-0410-0450-ebcdic-int+
Package

babel-encodings.

Source

enc-ebcdic-int.lisp.

Special Variable: +unicode-upto-ac-ebcdic-int+
Package

babel-encodings.

Source

enc-ebcdic-int.lisp.


6.2.3 Macros

Macro: define-character-encoding (name docstring &body options)
Package

babel-encodings.

Source

encodings.lisp.

Macro: define-code-point-counter (encoding (acc type) &body body)
Package

babel-encodings.

Source

encodings.lisp.

Macro: define-decoder (encoding (sa st da dt) &body body)
Package

babel-encodings.

Source

encodings.lisp.

Macro: define-encoder (encoding (sa st da dt) &body body)
Package

babel-encodings.

Source

encodings.lisp.

Macro: define-octet-counter (encoding (acc type) &body body)
Package

babel-encodings.

Source

encodings.lisp.

Macro: define-ucs (name bytes &optional endianness limit)
Package

babel-encodings.

Source

enc-unicode.lisp.

Macro: define-unibyte-decoder (encoding (octet) &body body)
Package

babel-encodings.

Source

encodings.lisp.

Macro: define-unibyte-encoder (encoding (code) &body body)
Package

babel-encodings.

Source

encodings.lisp.

Macro: define-utf-16 (name &optional endianness)
Package

babel-encodings.

Source

enc-unicode.lisp.

Macro: f-ash (integer count)
Package

babel-encodings.

Source

enc-unicode.lisp.

Macro: f-logand (&rest integers)
Package

babel-encodings.

Source

enc-unicode.lisp.

Macro: f-logior (&rest integers)
Package

babel-encodings.

Source

enc-unicode.lisp.

Macro: f-logxor (&rest integers)
Package

babel-encodings.

Source

enc-unicode.lisp.

Macro: string-get (string index)
Package

babel.

Source

strings.lisp.

Macro: string-set (code string index)
Package

babel.

Source

strings.lisp.

Macro: ub-get (vector index &optional bytes endianness)
Package

babel.

Source

strings.lisp.

Macro: ub-set (value vector index &optional bytes endianness)
Package

babel.

Source

strings.lisp.

Macro: utf-16-combine-surrogate-pairs (u1 u2)
Package

babel-encodings.

Source

enc-unicode.lisp.

Macro: utf16-octet-counter (getter type)
Package

babel-encodings.

Source

enc-unicode.lisp.


6.2.4 Ordinary functions

Function: %register-mapping-part (encoding slot-name fn)
Package

babel-encodings.

Source

encodings.lisp.

Function: bom-vector (encoding use-bom)
Package

babel.

Source

strings.lisp.

Function: check-vector-bounds (vector start end)
Package

babel.

Source

strings.lisp.

Function: cp932-to-ucs (code)
Package

babel-encodings.

Source

enc-jpn.lisp.

Function: decoding-error (octets enc buf pos &optional sub e)
Package

babel-encodings.

Source

encodings.lisp.

Function: ebcdic-fi-decoder (octet)
Package

babel-encodings.

Source

enc-ebcdic.lisp.

Function: ebcdic-fi-encoder (code)
Package

babel-encodings.

Source

enc-ebcdic.lisp.

Function: encoding-error (code enc buf pos &optional sub e)
Package

babel-encodings.

Source

encodings.lisp.

Function: eucjp-to-ucs (code)
Package

babel-encodings.

Source

enc-jpn.lisp.

Function: get-abstract-mapping (encoding)
Package

babel-encodings.

Source

encodings.lisp.

Function: (setf get-abstract-mapping) (encoding)
Package

babel-encodings.

Source

encodings.lisp.

Function: instantiate-code-point-counter (encoding am octet-seq-getter octet-seq-type)
Package

babel-encodings.

Source

encodings.lisp.

Function: instantiate-decoder (encoding am octet-seq-getter octet-seq-type code-point-seq-setter code-point-seq-type)
Package

babel-encodings.

Source

encodings.lisp.

Function: instantiate-encoder (encoding am octet-seq-getter octet-seq-type code-point-seq-setter code-point-seq-type)
Package

babel-encodings.

Source

encodings.lisp.

Function: instantiate-octet-counter (encoding am code-point-seq-getter code-point-seq-type)
Package

babel-encodings.

Source

encodings.lisp.

Function: make-dummy-coder (sg st ds dt)
Package

babel-encodings.

Source

encodings.lisp.

Function: make-fixed-width-counter (getter type &optional unit-size-in-bits)
Package

babel-encodings.

Source

encodings.lisp.

Function: make-sharp-backslash-reader ()
Package

babel.

Source

sharp-backslash.lisp.

Function: notice-character-encoding (enc)
Package

babel-encodings.

Source

encodings.lisp.

Function: sharp-backslash-reader (original-reader stream char numarg)
Package

babel.

Source

sharp-backslash.lisp.

Function: ucs-to-cp932 (code)
Package

babel-encodings.

Source

enc-jpn.lisp.

Function: ucs-to-eucjp (code)
Package

babel-encodings.

Source

enc-jpn.lisp.


6.2.5 Generic functions

Generic Reader: code-point-counter-factory (object)
Package

babel-encodings.

Methods
Reader Method: code-point-counter-factory ((abstract-mapping abstract-mapping))

automatically generated reader method

Source

encodings.lisp.

Target Slot

code-point-counter-factory.

Generic Writer: (setf code-point-counter-factory) (object)
Package

babel-encodings.

Methods
Writer Method: (setf code-point-counter-factory) ((abstract-mapping abstract-mapping))

automatically generated writer method

Source

encodings.lisp.

Target Slot

code-point-counter-factory.

Generic Reader: decoder-factory (object)
Package

babel-encodings.

Methods
Reader Method: decoder-factory ((abstract-mapping abstract-mapping))

automatically generated reader method

Source

encodings.lisp.

Target Slot

decoder-factory.

Generic Writer: (setf decoder-factory) (object)
Package

babel-encodings.

Methods
Writer Method: (setf decoder-factory) ((abstract-mapping abstract-mapping))

automatically generated writer method

Source

encodings.lisp.

Target Slot

decoder-factory.

Generic Reader: enc-documentation (object)
Package

babel-encodings.

Methods
Reader Method: enc-documentation ((character-encoding character-encoding))

automatically generated reader method

Source

encodings.lisp.

Target Slot

documentation.

Generic Reader: encoder-factory (object)
Package

babel-encodings.

Methods
Reader Method: encoder-factory ((abstract-mapping abstract-mapping))

automatically generated reader method

Source

encodings.lisp.

Target Slot

encoder-factory.

Generic Writer: (setf encoder-factory) (object)
Package

babel-encodings.

Methods
Writer Method: (setf encoder-factory) ((abstract-mapping abstract-mapping))

automatically generated writer method

Source

encodings.lisp.

Target Slot

encoder-factory.

Generic Reader: octet-counter-factory (object)
Package

babel-encodings.

Methods
Reader Method: octet-counter-factory ((abstract-mapping abstract-mapping))

automatically generated reader method

Source

encodings.lisp.

Target Slot

octet-counter-factory.

Generic Writer: (setf octet-counter-factory) (object)
Package

babel-encodings.

Methods
Writer Method: (setf octet-counter-factory) ((abstract-mapping abstract-mapping))

automatically generated writer method

Source

encodings.lisp.

Target Slot

octet-counter-factory.


6.2.6 Conditions

Condition: invalid-gbk-byte

Signalled when an invalid GBK byte is found.

Package

babel-encodings.

Source

enc-gbk.lisp.

Direct superclasses

character-decoding-error.

Condition: invalid-gbk-character

Signalled when an invalid GBK character is found.

Package

babel-encodings.

Source

enc-gbk.lisp.

Direct superclasses

character-encoding-error.


6.2.7 Classes

Class: abstract-mapping
Package

babel-encodings.

Source

encodings.lisp.

Direct methods
Direct slots
Slot: encoder-factory
Initform

(quote babel-encodings::make-dummy-coder)

Readers

encoder-factory.

Writers

(setf encoder-factory).

Slot: decoder-factory
Initform

(quote babel-encodings::make-dummy-coder)

Readers

decoder-factory.

Writers

(setf decoder-factory).

Slot: octet-counter-factory
Initform

(quote babel-encodings::make-fixed-width-counter)

Readers

octet-counter-factory.

Writers

(setf octet-counter-factory).

Slot: code-point-counter-factory
Initform

(quote babel-encodings::make-fixed-width-counter)

Readers

code-point-counter-factory.

Writers

(setf code-point-counter-factory).

Class: concrete-mapping
Package

babel-encodings.

Source

encodings.lisp.

Direct methods
Direct slots
Slot: encoder
Readers

encoder.

Writers

(setf encoder).

Slot: decoder
Readers

decoder.

Writers

(setf decoder).

Slot: octet-counter
Readers

octet-counter.

Writers

(setf octet-counter).

Slot: code-point-counter
Readers

code-point-counter.

Writers

(setf code-point-counter).


6.2.8 Types

Type: code-point ()
Package

babel-encodings.

Source

encodings.lisp.

Type: eol-style ()

Possible end-of-line styles.

Package

babel.

Source

external-format.lisp.

Type: ub8 ()
Package

babel-encodings.

Source

encodings.lisp.


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %   (  
A   B   C   D   E   F   G   I   L   M   N   O   P   S   U   V   W  
Index Entry  Section

%
%register-mapping-part: Private ordinary functions

(
(setf code-point-counter): Public generic functions
(setf code-point-counter): Public generic functions
(setf code-point-counter-factory): Private generic functions
(setf code-point-counter-factory): Private generic functions
(setf decoder): Public generic functions
(setf decoder): Public generic functions
(setf decoder-factory): Private generic functions
(setf decoder-factory): Private generic functions
(setf encoder): Public generic functions
(setf encoder): Public generic functions
(setf encoder-factory): Private generic functions
(setf encoder-factory): Private generic functions
(setf get-abstract-mapping): Private ordinary functions
(setf octet-counter): Public generic functions
(setf octet-counter): Public generic functions
(setf octet-counter-factory): Private generic functions
(setf octet-counter-factory): Private generic functions

A
ambiguous-encoding-p: Public generic functions
ambiguous-encoding-p: Public generic functions
ambiguous-encoding-p: Public generic functions

B
bom-vector: Private ordinary functions

C
character-coding-error-buffer: Public generic functions
character-coding-error-buffer: Public generic functions
character-coding-error-encoding: Public generic functions
character-coding-error-encoding: Public generic functions
character-coding-error-position: Public generic functions
character-coding-error-position: Public generic functions
character-decoding-error-octets: Public generic functions
character-decoding-error-octets: Public generic functions
character-encoding-error-code: Public generic functions
character-encoding-error-code: Public generic functions
check-vector-bounds: Private ordinary functions
code-point-counter: Public generic functions
code-point-counter: Public generic functions
code-point-counter-factory: Private generic functions
code-point-counter-factory: Private generic functions
concatenate-strings-to-octets: Public ordinary functions
cp932-to-ucs: Private ordinary functions

D
decoder: Public generic functions
decoder: Public generic functions
decoder-factory: Private generic functions
decoder-factory: Private generic functions
decoding-error: Private ordinary functions
define-character-encoding: Private macros
define-code-point-counter: Private macros
define-decoder: Private macros
define-encoder: Private macros
define-octet-counter: Private macros
define-ucs: Private macros
define-unibyte-decoder: Private macros
define-unibyte-encoder: Private macros
define-utf-16: Private macros

E
ebcdic-fi-decoder: Private ordinary functions
ebcdic-fi-encoder: Private ordinary functions
enable-sharp-backslash-syntax: Public macros
enc-aliases: Public generic functions
enc-aliases: Public generic functions
enc-bom-encoding: Public generic functions
enc-bom-encoding: Public generic functions
enc-code-unit-size: Public generic functions
enc-code-unit-size: Public generic functions
enc-decode-literal-code-unit-limit: Public generic functions
enc-decode-literal-code-unit-limit: Public generic functions
enc-default-replacement: Public generic functions
enc-default-replacement: Public generic functions
enc-documentation: Private generic functions
enc-documentation: Private generic functions
enc-encode-literal-code-unit-limit: Public generic functions
enc-encode-literal-code-unit-limit: Public generic functions
enc-max-units-per-char: Public generic functions
enc-max-units-per-char: Public generic functions
enc-name: Public generic functions
enc-name: Public generic functions
enc-native-endianness: Public generic functions
enc-native-endianness: Public generic functions
enc-nul-encoding: Public generic functions
enc-nul-encoding: Public generic functions
enc-use-bom: Public generic functions
enc-use-bom: Public generic functions
encoder: Public generic functions
encoder: Public generic functions
encoder-factory: Private generic functions
encoder-factory: Private generic functions
encoding-error: Private ordinary functions
ensure-external-format: Public ordinary functions
eucjp-to-ucs: Private ordinary functions
external-format-encoding: Public generic functions
external-format-encoding: Public generic functions
external-format-eol-style: Public generic functions
external-format-eol-style: Public generic functions
external-format-equal: Public ordinary functions

F
f-ash: Private macros
f-logand: Private macros
f-logior: Private macros
f-logxor: Private macros
Function, %register-mapping-part: Private ordinary functions
Function, (setf get-abstract-mapping): Private ordinary functions
Function, bom-vector: Private ordinary functions
Function, check-vector-bounds: Private ordinary functions
Function, concatenate-strings-to-octets: Public ordinary functions
Function, cp932-to-ucs: Private ordinary functions
Function, decoding-error: Private ordinary functions
Function, ebcdic-fi-decoder: Private ordinary functions
Function, ebcdic-fi-encoder: Private ordinary functions
Function, encoding-error: Private ordinary functions
Function, ensure-external-format: Public ordinary functions
Function, eucjp-to-ucs: Private ordinary functions
Function, external-format-equal: Public ordinary functions
Function, get-abstract-mapping: Private ordinary functions
Function, get-character-encoding: Public ordinary functions
Function, instantiate-code-point-counter: Private ordinary functions
Function, instantiate-decoder: Private ordinary functions
Function, instantiate-encoder: Private ordinary functions
Function, instantiate-octet-counter: Private ordinary functions
Function, list-character-encodings: Public ordinary functions
Function, lookup-mapping: Public ordinary functions
Function, make-dummy-coder: Private ordinary functions
Function, make-external-format: Public ordinary functions
Function, make-fixed-width-counter: Private ordinary functions
Function, make-sharp-backslash-reader: Private ordinary functions
Function, notice-character-encoding: Private ordinary functions
Function, octets-to-string: Public ordinary functions
Function, set-sharp-backslash-syntax-in-readtable: Public ordinary functions
Function, sharp-backslash-reader: Private ordinary functions
Function, string-size-in-octets: Public ordinary functions
Function, string-to-octets: Public ordinary functions
Function, ucs-to-cp932: Private ordinary functions
Function, ucs-to-eucjp: Private ordinary functions
Function, vector-size-in-chars: Public ordinary functions

G
Generic Function, (setf code-point-counter): Public generic functions
Generic Function, (setf code-point-counter-factory): Private generic functions
Generic Function, (setf decoder): Public generic functions
Generic Function, (setf decoder-factory): Private generic functions
Generic Function, (setf encoder): Public generic functions
Generic Function, (setf encoder-factory): Private generic functions
Generic Function, (setf octet-counter): Public generic functions
Generic Function, (setf octet-counter-factory): Private generic functions
Generic Function, ambiguous-encoding-p: Public generic functions
Generic Function, character-coding-error-buffer: Public generic functions
Generic Function, character-coding-error-encoding: Public generic functions
Generic Function, character-coding-error-position: Public generic functions
Generic Function, character-decoding-error-octets: Public generic functions
Generic Function, character-encoding-error-code: Public generic functions
Generic Function, code-point-counter: Public generic functions
Generic Function, code-point-counter-factory: Private generic functions
Generic Function, decoder: Public generic functions
Generic Function, decoder-factory: Private generic functions
Generic Function, enc-aliases: Public generic functions
Generic Function, enc-bom-encoding: Public generic functions
Generic Function, enc-code-unit-size: Public generic functions
Generic Function, enc-decode-literal-code-unit-limit: Public generic functions
Generic Function, enc-default-replacement: Public generic functions
Generic Function, enc-documentation: Private generic functions
Generic Function, enc-encode-literal-code-unit-limit: Public generic functions
Generic Function, enc-max-units-per-char: Public generic functions
Generic Function, enc-name: Public generic functions
Generic Function, enc-native-endianness: Public generic functions
Generic Function, enc-nul-encoding: Public generic functions
Generic Function, enc-use-bom: Public generic functions
Generic Function, encoder: Public generic functions
Generic Function, encoder-factory: Private generic functions
Generic Function, external-format-encoding: Public generic functions
Generic Function, external-format-eol-style: Public generic functions
Generic Function, octet-counter: Public generic functions
Generic Function, octet-counter-factory: Private generic functions
get-abstract-mapping: Private ordinary functions
get-character-encoding: Public ordinary functions

I
initialize-instance: Public standalone methods
instantiate-code-point-counter: Private ordinary functions
instantiate-concrete-mappings: Public macros
instantiate-decoder: Private ordinary functions
instantiate-encoder: Private ordinary functions
instantiate-octet-counter: Private ordinary functions

L
list-character-encodings: Public ordinary functions
lookup-mapping: Public ordinary functions

M
Macro, define-character-encoding: Private macros
Macro, define-code-point-counter: Private macros
Macro, define-decoder: Private macros
Macro, define-encoder: Private macros
Macro, define-octet-counter: Private macros
Macro, define-ucs: Private macros
Macro, define-unibyte-decoder: Private macros
Macro, define-unibyte-encoder: Private macros
Macro, define-utf-16: Private macros
Macro, enable-sharp-backslash-syntax: Public macros
Macro, f-ash: Private macros
Macro, f-logand: Private macros
Macro, f-logior: Private macros
Macro, f-logxor: Private macros
Macro, instantiate-concrete-mappings: Public macros
Macro, string-get: Private macros
Macro, string-set: Private macros
Macro, ub-get: Private macros
Macro, ub-set: Private macros
Macro, utf-16-combine-surrogate-pairs: Private macros
Macro, utf16-octet-counter: Private macros
Macro, with-checked-simple-vector: Public macros
Macro, with-simple-vector: Public macros
make-dummy-coder: Private ordinary functions
make-external-format: Public ordinary functions
make-fixed-width-counter: Private ordinary functions
make-sharp-backslash-reader: Private ordinary functions
Method, (setf code-point-counter): Public generic functions
Method, (setf code-point-counter-factory): Private generic functions
Method, (setf decoder): Public generic functions
Method, (setf decoder-factory): Private generic functions
Method, (setf encoder): Public generic functions
Method, (setf encoder-factory): Private generic functions
Method, (setf octet-counter): Public generic functions
Method, (setf octet-counter-factory): Private generic functions
Method, ambiguous-encoding-p: Public generic functions
Method, ambiguous-encoding-p: Public generic functions
Method, character-coding-error-buffer: Public generic functions
Method, character-coding-error-encoding: Public generic functions
Method, character-coding-error-position: Public generic functions
Method, character-decoding-error-octets: Public generic functions
Method, character-encoding-error-code: Public generic functions
Method, code-point-counter: Public generic functions
Method, code-point-counter-factory: Private generic functions
Method, decoder: Public generic functions
Method, decoder-factory: Private generic functions
Method, enc-aliases: Public generic functions
Method, enc-bom-encoding: Public generic functions
Method, enc-code-unit-size: Public generic functions
Method, enc-decode-literal-code-unit-limit: Public generic functions
Method, enc-default-replacement: Public generic functions
Method, enc-documentation: Private generic functions
Method, enc-encode-literal-code-unit-limit: Public generic functions
Method, enc-max-units-per-char: Public generic functions
Method, enc-name: Public generic functions
Method, enc-native-endianness: Public generic functions
Method, enc-nul-encoding: Public generic functions
Method, enc-use-bom: Public generic functions
Method, encoder: Public generic functions
Method, encoder-factory: Private generic functions
Method, external-format-encoding: Public generic functions
Method, external-format-eol-style: Public generic functions
Method, initialize-instance: Public standalone methods
Method, octet-counter: Public generic functions
Method, octet-counter-factory: Private generic functions
Method, print-object: Public standalone methods

N
notice-character-encoding: Private ordinary functions

O
octet-counter: Public generic functions
octet-counter: Public generic functions
octet-counter-factory: Private generic functions
octet-counter-factory: Private generic functions
octets-to-string: Public ordinary functions

P
print-object: Public standalone methods

S
set-sharp-backslash-syntax-in-readtable: Public ordinary functions
sharp-backslash-reader: Private ordinary functions
string-get: Private macros
string-set: Private macros
string-size-in-octets: Public ordinary functions
string-to-octets: Public ordinary functions

U
ub-get: Private macros
ub-set: Private macros
ucs-to-cp932: Private ordinary functions
ucs-to-eucjp: Private ordinary functions
utf-16-combine-surrogate-pairs: Private macros
utf16-octet-counter: Private macros

V
vector-size-in-chars: Public ordinary functions

W
with-checked-simple-vector: Public macros
with-simple-vector: Public macros


A.3 Variables

Jump to:   *   +  
A   B   C   D   E   M   N   O   P   S   U  
Index Entry  Section

*
*abstract-mappings*: Private special variables
*character-encodings*: Private special variables
*cp932-only*: Private special variables
*cp932-to-ucs-hash*: Private special variables
*default-character-encoding*: Public special variables
*default-eol-style*: Public special variables
*eucjp*: Private special variables
*eucjp-only*: Private special variables
*eucjp-to-ucs-hash*: Private special variables
*gbk-unicode-mapping*: Private special variables
*simple-base-string-vector-mappings*: Private special variables
*string-vector-mappings*: Private special variables
*supported-character-encodings*: Private special variables
*suppress-character-coding-errors*: Public special variables
*ucs-to-cp932-hash*: Private special variables
*ucs-to-eucjp-hash*: Private special variables

+
+byte-order-mark-code+: Private constants
+cp1251-to-unicode+: Private constants
+cp1252-to-unicode+: Private constants
+cp437-to-unicode+: Private constants
+default-substitution-code-point+: Private constants
+ebcdic-decode-table+: Private constants
+ebcdic-encode-table+: Private constants
+ebcdic-int-to-unicode+: Private special variables
+gbk1-offset+: Private constants
+gbk2-offset+: Private constants
+gbk3-offset+: Private constants
+gbk4-offset+: Private constants
+gbk5-offset+: Private constants
+iso-8859-10-to-unicode+: Private constants
+iso-8859-13-to-unicode+: Private constants
+iso-8859-14-to-unicode+: Private constants
+iso-8859-15-to-unicode+: Private constants
+iso-8859-16-to-unicode+: Private constants
+iso-8859-2-to-unicode+: Private constants
+iso-8859-3-to-unicode+: Private constants
+iso-8859-4-to-unicode+: Private constants
+iso-8859-5-to-unicode+: Private constants
+iso-8859-6-to-unicode+: Private constants
+iso-8859-7-to-unicode+: Private constants
+iso-8859-8-to-unicode+: Private constants
+iso-8859-9-to-unicode+: Private constants
+koi8-r-to-unicode+: Private constants
+koi8-ru-to-unicode+: Private constants
+koi8-u-to-unicode+: Private constants
+repl+: Private constants
+swapped-byte-order-mark-code+: Private constants
+swapped-byte-order-mark-code-32+: Private constants
+unicode-0-97-to-cp1251+: Private constants
+unicode-00a0-0180-to-iso-8859-2+: Private constants
+unicode-0152-017e-cp1252+: Private constants
+unicode-02c0-02e0-to-iso-8859-2+: Private constants
+unicode-04->koi8-ru+: Private constants
+unicode-0410-0450-ebcdic-int+: Private special variables
+unicode-10-3f-to-cp1251+: Private constants
+unicode-108-128-to-iso-8859-14+: Private constants
+unicode-108-180-to-iso-8859-3+: Private constants
+unicode-118-160-to-iso-8859-9+: Private constants
+unicode-150-180-to-iso-8859-15+: Private constants
+unicode-170-180-to-iso-8859-14+: Private constants
+unicode-1e00-1e88-to-iso-8859-14+: Private constants
+unicode-1ef0-1ef8-to-iso-8859-14+: Private constants
+unicode-2008-2018-to-iso-8859-8+: Private constants
+unicode-2010-2020-to-iso-8859-7+: Private constants
+unicode-2013-203a-cp1252+: Private constants
+unicode-2018-2020-to-iso-8859-13+: Private constants
+unicode-2018-2020-to-iso-8859-16+: Private constants
+unicode-20ac-20b0-to-iso-8859-7+: Private constants
+unicode-218-220-to-iso-8859-16+: Private constants
+unicode-2c0-2e0-to-iso-8859-4+: Private constants
+unicode-2d8-2e0-to-iso-8859-3+: Private constants
+unicode-378-3d0-to-iso-8859-7+: Private constants
+unicode-400-460-to-iso-8859-5+: Private constants
+unicode-5d0-5f0-to-iso-8859-8+: Private constants
+unicode-608-658-to-iso-8859-6+: Private constants
+unicode-a0-100-to-iso-8859-14+: Private constants
+unicode-a0-100-to-iso-8859-15+: Private constants
+unicode-a0-100-to-iso-8859-3+: Private constants
+unicode-a0-180-to-iso-8859-10+: Private constants
+unicode-a0-180-to-iso-8859-13+: Private constants
+unicode-a0-180-to-iso-8859-16+: Private constants
+unicode-a0-180-to-iso-8859-4+: Private constants
+unicode-a0-b0-to-iso-8859-5+: Private constants
+unicode-a0-b0-to-iso-8859-6+: Private constants
+unicode-a0-bf-to-cp1251+: Private constants
+unicode-a0-c0-to-iso-8859-7+: Private constants
+unicode-a0-f8-to-iso-8859-8+: Private constants
+unicode-d0-100-to-iso-8859-9+: Private constants
+unicode-upto-ac-ebcdic-int+: Private special variables
+unicode-x04->koi8-r+: Private constants
+unicode-x04->koi8-u+: Private constants
+unicode-x25->koi8-r+: Private constants
+unicode-x25->koi8-u+: Private constants

A
aliases: Public classes
ambiguous: Public classes

B
bom-encoding: Public classes
buffer: Public conditions

C
code: Public conditions
code-point-counter: Private classes
code-point-counter-factory: Private classes
code-unit-size: Public classes
Constant, +byte-order-mark-code+: Private constants
Constant, +cp1251-to-unicode+: Private constants
Constant, +cp1252-to-unicode+: Private constants
Constant, +cp437-to-unicode+: Private constants
Constant, +default-substitution-code-point+: Private constants
Constant, +ebcdic-decode-table+: Private constants
Constant, +ebcdic-encode-table+: Private constants
Constant, +gbk1-offset+: Private constants
Constant, +gbk2-offset+: Private constants
Constant, +gbk3-offset+: Private constants
Constant, +gbk4-offset+: Private constants
Constant, +gbk5-offset+: Private constants
Constant, +iso-8859-10-to-unicode+: Private constants
Constant, +iso-8859-13-to-unicode+: Private constants
Constant, +iso-8859-14-to-unicode+: Private constants
Constant, +iso-8859-15-to-unicode+: Private constants
Constant, +iso-8859-16-to-unicode+: Private constants
Constant, +iso-8859-2-to-unicode+: Private constants
Constant, +iso-8859-3-to-unicode+: Private constants
Constant, +iso-8859-4-to-unicode+: Private constants
Constant, +iso-8859-5-to-unicode+: Private constants
Constant, +iso-8859-6-to-unicode+: Private constants
Constant, +iso-8859-7-to-unicode+: Private constants
Constant, +iso-8859-8-to-unicode+: Private constants
Constant, +iso-8859-9-to-unicode+: Private constants
Constant, +koi8-r-to-unicode+: Private constants
Constant, +koi8-ru-to-unicode+: Private constants
Constant, +koi8-u-to-unicode+: Private constants
Constant, +repl+: Private constants
Constant, +swapped-byte-order-mark-code+: Private constants
Constant, +swapped-byte-order-mark-code-32+: Private constants
Constant, +unicode-0-97-to-cp1251+: Private constants
Constant, +unicode-00a0-0180-to-iso-8859-2+: Private constants
Constant, +unicode-0152-017e-cp1252+: Private constants
Constant, +unicode-02c0-02e0-to-iso-8859-2+: Private constants
Constant, +unicode-04->koi8-ru+: Private constants
Constant, +unicode-10-3f-to-cp1251+: Private constants
Constant, +unicode-108-128-to-iso-8859-14+: Private constants
Constant, +unicode-108-180-to-iso-8859-3+: Private constants
Constant, +unicode-118-160-to-iso-8859-9+: Private constants
Constant, +unicode-150-180-to-iso-8859-15+: Private constants
Constant, +unicode-170-180-to-iso-8859-14+: Private constants
Constant, +unicode-1e00-1e88-to-iso-8859-14+: Private constants
Constant, +unicode-1ef0-1ef8-to-iso-8859-14+: Private constants
Constant, +unicode-2008-2018-to-iso-8859-8+: Private constants
Constant, +unicode-2010-2020-to-iso-8859-7+: Private constants
Constant, +unicode-2013-203a-cp1252+: Private constants
Constant, +unicode-2018-2020-to-iso-8859-13+: Private constants
Constant, +unicode-2018-2020-to-iso-8859-16+: Private constants
Constant, +unicode-20ac-20b0-to-iso-8859-7+: Private constants
Constant, +unicode-218-220-to-iso-8859-16+: Private constants
Constant, +unicode-2c0-2e0-to-iso-8859-4+: Private constants
Constant, +unicode-2d8-2e0-to-iso-8859-3+: Private constants
Constant, +unicode-378-3d0-to-iso-8859-7+: Private constants
Constant, +unicode-400-460-to-iso-8859-5+: Private constants
Constant, +unicode-5d0-5f0-to-iso-8859-8+: Private constants
Constant, +unicode-608-658-to-iso-8859-6+: Private constants
Constant, +unicode-a0-100-to-iso-8859-14+: Private constants
Constant, +unicode-a0-100-to-iso-8859-15+: Private constants
Constant, +unicode-a0-100-to-iso-8859-3+: Private constants
Constant, +unicode-a0-180-to-iso-8859-10+: Private constants
Constant, +unicode-a0-180-to-iso-8859-13+: Private constants
Constant, +unicode-a0-180-to-iso-8859-16+: Private constants
Constant, +unicode-a0-180-to-iso-8859-4+: Private constants
Constant, +unicode-a0-b0-to-iso-8859-5+: Private constants
Constant, +unicode-a0-b0-to-iso-8859-6+: Private constants
Constant, +unicode-a0-bf-to-cp1251+: Private constants
Constant, +unicode-a0-c0-to-iso-8859-7+: Private constants
Constant, +unicode-a0-f8-to-iso-8859-8+: Private constants
Constant, +unicode-d0-100-to-iso-8859-9+: Private constants
Constant, +unicode-x04->koi8-r+: Private constants
Constant, +unicode-x04->koi8-u+: Private constants
Constant, +unicode-x25->koi8-r+: Private constants
Constant, +unicode-x25->koi8-u+: Private constants
Constant, unicode-char-code-limit: Public constants

D
decode-literal-code-unit-limit: Public classes
decoder: Private classes
decoder-factory: Private classes
default-replacement: Public classes
documentation: Public classes

E
encode-literal-code-unit-limit: Public classes
encoder: Private classes
encoder-factory: Private classes
encoding: Public conditions
encoding: Public classes
eol-style: Public classes

M
max-units-per-char: Public classes

N
name: Public classes
native-endianness: Public classes
nul-encoding: Public classes

O
octet-counter: Private classes
octet-counter-factory: Private classes
octets: Public conditions

P
position: Public conditions

S
Slot, aliases: Public classes
Slot, ambiguous: Public classes
Slot, bom-encoding: Public classes
Slot, buffer: Public conditions
Slot, code: Public conditions
Slot, code-point-counter: Private classes
Slot, code-point-counter-factory: Private classes
Slot, code-unit-size: Public classes
Slot, decode-literal-code-unit-limit: Public classes
Slot, decoder: Private classes
Slot, decoder-factory: Private classes
Slot, default-replacement: Public classes
Slot, documentation: Public classes
Slot, encode-literal-code-unit-limit: Public classes
Slot, encoder: Private classes
Slot, encoder-factory: Private classes
Slot, encoding: Public conditions
Slot, encoding: Public classes
Slot, eol-style: Public classes
Slot, max-units-per-char: Public classes
Slot, name: Public classes
Slot, native-endianness: Public classes
Slot, nul-encoding: Public classes
Slot, octet-counter: Private classes
Slot, octet-counter-factory: Private classes
Slot, octets: Public conditions
Slot, position: Public conditions
Slot, use-bom: Public classes
Special Variable, *abstract-mappings*: Private special variables
Special Variable, *character-encodings*: Private special variables
Special Variable, *cp932-only*: Private special variables
Special Variable, *cp932-to-ucs-hash*: Private special variables
Special Variable, *default-character-encoding*: Public special variables
Special Variable, *default-eol-style*: Public special variables
Special Variable, *eucjp*: Private special variables
Special Variable, *eucjp-only*: Private special variables
Special Variable, *eucjp-to-ucs-hash*: Private special variables
Special Variable, *gbk-unicode-mapping*: Private special variables
Special Variable, *simple-base-string-vector-mappings*: Private special variables
Special Variable, *string-vector-mappings*: Private special variables
Special Variable, *supported-character-encodings*: Private special variables
Special Variable, *suppress-character-coding-errors*: Public special variables
Special Variable, *ucs-to-cp932-hash*: Private special variables
Special Variable, *ucs-to-eucjp-hash*: Private special variables
Special Variable, +ebcdic-int-to-unicode+: Private special variables
Special Variable, +unicode-0410-0450-ebcdic-int+: Private special variables
Special Variable, +unicode-upto-ac-ebcdic-int+: Private special variables

U
unicode-char-code-limit: Public constants
use-bom: Public classes


A.4 Data types

Jump to:   A   B   C   E   F   G   I   J   M   O   P   S   T   U  
Index Entry  Section

A
abstract-mapping: Private classes

B
babel: The babel system
babel: The babel package
babel-encodings: The babel-encodings package
babel.asd: The babel/babel․asd file

C
character-coding-error: Public conditions
character-decoding-error: Public conditions
character-encoding: Public classes
character-encoding-error: Public conditions
character-out-of-range: Public conditions
Class, abstract-mapping: Private classes
Class, character-encoding: Public classes
Class, concrete-mapping: Private classes
Class, external-format: Public classes
code-point: Private types
concrete-mapping: Private classes
Condition, character-coding-error: Public conditions
Condition, character-decoding-error: Public conditions
Condition, character-encoding-error: Public conditions
Condition, character-out-of-range: Public conditions
Condition, end-of-input-in-character: Public conditions
Condition, invalid-gbk-byte: Private conditions
Condition, invalid-gbk-character: Private conditions
Condition, invalid-utf8-continuation-byte: Public conditions
Condition, invalid-utf8-starter-byte: Public conditions
Condition, overlong-utf8-sequence: Public conditions

E
enc-ascii.lisp: The babel/src/enc-ascii․lisp file
enc-cp1251.lisp: The babel/src/enc-cp1251․lisp file
enc-cp1252.lisp: The babel/src/enc-cp1252․lisp file
enc-cp437.lisp: The babel/src/enc-cp437․lisp file
enc-ebcdic-int.lisp: The babel/src/enc-ebcdic-int․lisp file
enc-ebcdic.lisp: The babel/src/enc-ebcdic․lisp file
enc-gbk.lisp: The babel/src/enc-gbk․lisp file
enc-iso-8859.lisp: The babel/src/enc-iso-8859․lisp file
enc-jpn.lisp: The babel/src/enc-jpn․lisp file
enc-koi8.lisp: The babel/src/enc-koi8․lisp file
enc-unicode.lisp: The babel/src/enc-unicode․lisp file
encodings.lisp: The babel/src/encodings․lisp file
end-of-input-in-character: Public conditions
eol-style: Private types
external-format: Public classes
external-format.lisp: The babel/src/external-format․lisp file

F
File, babel.asd: The babel/babel․asd file
File, enc-ascii.lisp: The babel/src/enc-ascii․lisp file
File, enc-cp1251.lisp: The babel/src/enc-cp1251․lisp file
File, enc-cp1252.lisp: The babel/src/enc-cp1252․lisp file
File, enc-cp437.lisp: The babel/src/enc-cp437․lisp file
File, enc-ebcdic-int.lisp: The babel/src/enc-ebcdic-int․lisp file
File, enc-ebcdic.lisp: The babel/src/enc-ebcdic․lisp file
File, enc-gbk.lisp: The babel/src/enc-gbk․lisp file
File, enc-iso-8859.lisp: The babel/src/enc-iso-8859․lisp file
File, enc-jpn.lisp: The babel/src/enc-jpn․lisp file
File, enc-koi8.lisp: The babel/src/enc-koi8․lisp file
File, enc-unicode.lisp: The babel/src/enc-unicode․lisp file
File, encodings.lisp: The babel/src/encodings․lisp file
File, external-format.lisp: The babel/src/external-format․lisp file
File, gbk-map.lisp: The babel/src/gbk-map․lisp file
File, jpn-table.lisp: The babel/src/jpn-table․lisp file
File, packages.lisp: The babel/src/packages․lisp file
File, sharp-backslash.lisp: The babel/src/sharp-backslash․lisp file
File, strings.lisp: The babel/src/strings․lisp file

G
gbk-map.lisp: The babel/src/gbk-map․lisp file

I
invalid-gbk-byte: Private conditions
invalid-gbk-character: Private conditions
invalid-utf8-continuation-byte: Public conditions
invalid-utf8-starter-byte: Public conditions

J
jpn-table.lisp: The babel/src/jpn-table․lisp file

M
Module, src: The babel/src module

O
overlong-utf8-sequence: Public conditions

P
Package, babel: The babel package
Package, babel-encodings: The babel-encodings package
packages.lisp: The babel/src/packages․lisp file

S
sharp-backslash.lisp: The babel/src/sharp-backslash․lisp file
simple-unicode-string: Public types
src: The babel/src module
strings.lisp: The babel/src/strings․lisp file
System, babel: The babel system

T
Type, code-point: Private types
Type, eol-style: Private types
Type, simple-unicode-string: Public types
Type, ub8: Private types
Type, unicode-char: Public types
Type, unicode-string: Public types

U
ub8: Private types
unicode-char: Public types
unicode-string: Public types