Next: , Up: iconv   [Index]


6.1 Encoding enumeration sets

The following bindings are exported by the (vicare iconv) library.

Enumeration Type: enum-iconv-encoding

Enumeration type for the symbols describing supported Iconv encodings. All the encoding symbols are included with the exception of ‘850’, ‘862’ and ‘866’ (because they are numbers) which are aliases for ‘CP850’, ‘CP862’ and ‘CP866’.

Additionally ‘TRANSLIT’ and ‘IGNORE’ are included to allow the specification of the corresponding modes for iconv!.

Syntax: iconv-encoding ?symbol ...

Evaluate to an enumeration set holding symbols from the enum-iconv-encoding enumeration. It should be used to compose sets with a single encoding symbol and optionally none, one or both the symbols ‘TRANSLIT’ and ‘IGNORE’.

Examples:

(iconv-encoding ISO8859-4)
(iconv-encoding UTF-16BE IGNORE)
(iconv-encoding UCS-4 TRANSLIT IGNORE)
Constant: iconv-encoding-universe

Enumeration set holding all the symbols in the enum-iconv-encoding enumeration.

Function: iconv-encoding-aliases? set1 set2

Return true if the encodings specified by the enumeration sets set1 and set2 are aliases for the same encoding. This predicate does not take into account the ‘TRANSLIT’ and ‘IGNORE’ symbols.

Function: iconv-encoding=? set1 set2

Return true if the encodings specified by the enumeration sets set1 and set2 are aliases for the same encoding, taking into account the ‘TRANSLIT’ and ‘IGNORE’ symbols.