Class ISO88595CharacterSet

  • All Implemented Interfaces:
    CharacterSet

    public class ISO88595CharacterSet
    extends java.lang.Object
    implements CharacterSet
    Description: This class implements the CharacterSet to support ISO-8859-5 (Latin/Cyrillic) encoding. The character mapping was obtained by extracting the Unicode values from an iconv character table (iso85=ucs2) available on HP-UX 11.23.

    The class was tested by transforming a document with ISO-8859-5 set as the output encoding, converting Shif_JIS output to utf-8 using iconv, and then comparing converted content to the same transformed document with utf-8 set as the output encoding.

    Checked by MHK against http://www.unicode.org/Public/MAPPINGS/ISO8859/8859-5.TXT

    • Constructor Detail

      • ISO88595CharacterSet

        public ISO88595CharacterSet()
    • Method Detail

      • inCharset

        public final boolean inCharset​(int ch)
        Description copied from interface: CharacterSet
        Determine if a character is present in the character set
        Specified by:
        inCharset in interface CharacterSet
      • getEncodingName

        public final java.lang.String getEncodingName()