Class CharsetLMBCS

All Implemented Interfaces:
Comparable<Charset>

class CharsetLMBCS extends CharsetICU
  • Field Details

  • Constructor Details

    • CharsetLMBCS

      public CharsetLMBCS(String icuCanonicalName, String javaCanonicalName, String[] aliases)
  • Method Details

    • ULMBCS_AMBIGUOUS_MATCH

      private boolean ULMBCS_AMBIGUOUS_MATCH(short agroup, short xgroup)
    • FindLMBCSUniRange

      static short FindLMBCSUniRange(char uniChar)
    • FindLMBCSLocale

      static short FindLMBCSLocale(String LocaleID)
    • newDecoder

      public CharsetDecoder newDecoder()
      Specified by:
      newDecoder in class Charset
    • newEncoder

      public CharsetEncoder newEncoder()
      Specified by:
      newEncoder in class Charset
    • getUnicodeSetImpl

      void getUnicodeSetImpl(UnicodeSet setFillIn, int which)
      Description copied from class: CharsetICU
      This follows ucnv.c method ucnv_detectUnicodeSignature() to detect the start of the stream for example U+FEFF (the Unicode BOM/signature character) that can be ignored. Detects Unicode signature byte sequences at the start of the byte stream and returns number of bytes of the BOM of the indicated Unicode charset. 0 is returned when no Unicode signature is recognized.
      Specified by:
      getUnicodeSetImpl in class CharsetICU