hex

hex calculator

two's complement

println((al&127)-128);

tips

show hex code(s) of character in bash

echo -n "é" | od -A n -t x1