net.sf.saxon.charcode
public final class UnicodeCharacterSet extends Object implements CharacterSet
Method Summary | |
---|---|
static UnicodeCharacterSet | getInstance() |
static int | getUTF8Encoding(char in, char in2, byte[] out)
Static method to generate the UTF-8 representation of a Unicode character |
boolean | inCharset(int c) |
Parameters: in the Unicode character, or the high half of a surrogate pair in2 the low half of a surrogate pair (ignored unless the first argument is in the range for a surrogate pair) out an array of at least 4 bytes to hold the UTF-8 representation.
Returns: the number of bytes in the UTF-8 representation