fix minor typo in Encoding reader