fix txt text encode