Another correction in charset encoding code