public class DoubleByteUtil
extends java.lang.Object
Provides constants for understanding numeric codepages, along with utilities to translate these into Java Character Sets.
Modifier and Type | Field and Description |
---|---|
static java.nio.charset.Charset |
BIG5 |
static java.util.Set<java.nio.charset.Charset> |
DOUBLE_BYTE_CHARSETS |
Constructor and Description |
---|
DoubleByteUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
cp950ToString(byte[] data,
int offset,
int lengthInBytes)
This tries to convert a LE byte array in cp950
(Microsoft's dialect of Big5) to a String.
|
public static final java.nio.charset.Charset BIG5
public static final java.util.Set<java.nio.charset.Charset> DOUBLE_BYTE_CHARSETS
public static java.lang.String cp950ToString(byte[] data, int offset, int lengthInBytes)
data
- offset
- lengthInBytes
- Copyright 2021 The Apache Software Foundation or its licensors, as applicable.