2 *******************************************************************************
\r
3 * Copyright (C) 2006-2008, International Business Machines Corporation and *
\r
4 * others. All Rights Reserved. *
\r
5 *******************************************************************************
\r
7 package com.ibm.icu.charset;
\r
9 import com.ibm.icu.text.UnicodeSet;
\r
12 * The purpose of this class is to set isCESU8 to true in the super class, and to allow the Charset framework to open
\r
13 * the variant UTF-8 converter without extra setup work. CESU-8 encodes/decodes supplementary characters as 6 bytes
\r
14 * instead of the proper 4 bytes.
\r
16 class CharsetCESU8 extends CharsetUTF8 {
\r
17 public CharsetCESU8(String icuCanonicalName, String javaCanonicalName, String[] aliases) {
\r
18 super(icuCanonicalName, javaCanonicalName, aliases);
\r
22 void getUnicodeSetImpl( UnicodeSet setFillIn, int which){
\r
23 getCompleteUnicodeSet(setFillIn);
\r