Basically, you have two characters: '\70' and '0' .
The escape sequence for octal is documented in JLS as:
OctalEscape: \ OctalDigit \ OctalDigit OctalDigit \ ZeroToThree OctalDigit OctalDigit
The last one does not apply in your case, since β7β is not in ZeroToThree, but both β7β and β0β are octal digits, so it matches the second pattern.
So now we just need to know why '\70' is "8" ... and that since octal 70 is decimal 56 or hexadecimal 38, what is the UTF-16 code block for "8" .
source share