Package org.apache.poi.hwpf.util
Class DoubleByteUtil
java.lang.Object
org.apache.poi.hwpf.util.DoubleByteUtil
Utilities for working with double byte CodePages.
Provides constants for understanding numeric codepages, along with utilities to translate these into Java Character Sets.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringcp950ToString(byte[] data, int offset, int lengthInBytes) This tries to convert a LE byte array in cp950 (Microsoft's dialect of Big5) to a String.
-
Field Details
-
BIG5
-
DOUBLE_BYTE_CHARSETS
-
-
Constructor Details
-
DoubleByteUtil
public DoubleByteUtil()
-
-
Method Details
-
cp950ToString
This tries to convert a LE byte array in cp950 (Microsoft's dialect of Big5) to a String. We know MS zero-padded ascii, and we drop those. There may be areas for improvement in this.- Returns:
- Decoded String
-