Use unsigned char to make sure 0xff chars are readable