## Package net.sf.saxon.charcode

This package provides classes for handling different output character sets.

See:
Description

Interface Summary
CharacterSet: This interface defines properties of a pluggable character set, that is, a user-supplied character set.
PluggableCharacterSet: This interface defines properties of a pluggable character set, that is, a user-supplied character set.

Class Summary
ASCIICharacterSet: This class defines properties of the US-ASCII character set
BuggyCharacterSet: This class establishes properties of a character set that is known to the Java VM but not specifically known to Saxon.
CharacterSetFactory: This class creates a CharacterSet object for a given named encoding.
CP1250CharacterSet: This class defines properties of the cp1250 character set
CP1251CharacterSet: This class defines properties of the CP1251 Cyrillic character set, as defined at http://www.microsoft.com/globaldev/reference/sbcs/1251.htm
CP852CharacterSet: This package defines pluggable character set CP852
KOI8RCharacterSet: This class defines properties of the KO18R Cyrillic character set
Latin1CharacterSet: This class defines properties of the ISO-8859-1 character set
Latin2CharacterSet: This class defines properties of the ISO-8859-2 character set
UnicodeCharacterSet: This class defines properties of the Unicode character set
UnknownCharacterSet: This class establishes properties of a character set that is known to the Java VM but not specifically known to Saxon

## Package net.sf.saxon.charcode Description

This package provides classes for handling different output character sets.

The sole function of these classes is to determine whether a particular character is present in the character set or not: if not, Saxon has to replace it with a character reference.

The actual translation of Unicode characters to characters in the selected encoding is left to the Java run-time library. (Note that different versions of Java support different sets of encodings, and there is no easy way to find out which encodings are supported in a given installation).

It is possible to configure Saxon to support additional character sets by writing an implementation of the PluggableCharacterSet interface, and registering this class as the value of the system property whose name is given by the expression:

`OutputKeys.ENCODING + "." + encoding`

where "encoding" is the name of the encoding as used in <xsl:output> - for example, iso-8859-10.

Michael H. Kay
25 April 2002