move to 8bit encoding