convert to 6 bit characters