S
Sakagami Hiroki
Hi,
When I want to convert a byte array to a String object, I can use
String constructor with charset parameter:
String result = new String(bytearray, charset);
Here, if the bytearray contains any illegal sequence of bytes in
charset, they seems to be replaced with `?'. Is it possible to throw
Exception instead of using replacement characters?
Regards,
When I want to convert a byte array to a String object, I can use
String constructor with charset parameter:
String result = new String(bytearray, charset);
Here, if the bytearray contains any illegal sequence of bytes in
charset, they seems to be replaced with `?'. Is it possible to throw
Exception instead of using replacement characters?
Regards,