Text encoding fixed