Change each_char to each_byte