fixed bug for US-ASCII introduced by the encoding code