Use character type instead of uint8