I have converted a string which has foreign character - 晝 to byte array. Byte array can store values between -128 to 127, so corresponding value has been stored as 3 bytes ---> -26,-103,-99.
Here's the conversion code:
String str = "晝";
byte[] b = str.getBytes();
for(byte bt : b)
System.out.println(bt);
String str1 = new String(b);
System.out.println(str1);
Can you please clarify how this 3 bytes has been calculated for the foreign character