handle 8 bit ascii coding