1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html#License
3/**
4 *******************************************************************************
5 * Copyright (C) 2006-2008, International Business Machines Corporation and    *
6 * others. All Rights Reserved.                                                *
7 *******************************************************************************
8 */
9package com.ibm.icu.charset;
10
11import com.ibm.icu.text.UnicodeSet;
12
13/**
14 * The purpose of this class is to set isCESU8 to true in the super class, and to allow the Charset framework to open
15 * the variant UTF-8 converter without extra setup work. CESU-8 encodes/decodes supplementary characters as 6 bytes
16 * instead of the proper 4 bytes.
17 */
18class CharsetCESU8 extends CharsetUTF8 {
19    public CharsetCESU8(String icuCanonicalName, String javaCanonicalName, String[] aliases) {
20        super(icuCanonicalName, javaCanonicalName, aliases);
21    }
22
23
24    @Override
25    void getUnicodeSetImpl( UnicodeSet setFillIn, int which){
26        getCompleteUnicodeSet(setFillIn);
27
28    }
29}
30