Change character to byte