20 static int getUnicodeValue(
const char *bytes,
int size);
28 virtual const char* what()
const throw() {
29 return "Invalid Unicode character encountered";
42 virtual const char* what()
const throw() {
43 return "Invalid Utf8 sequence encountered";
56 static int getCharSize(
int val);
62 static int getUnicodeValue(
const char *bytes);
67 static string getUtf8String(
int value);
73 static string getPrintableJavaUnicodeCharacter(
int value);
78 static string getPrintableJavaUnicodeString(
const char *str);
Class thrown when a Unicode character is encountered.
Class thrown when a bad Utf8 sequence is encountered.