* You can use Asc() to determine the unknown byte: ? ASC(RIGHT(FILETOSTR('sample.txt'),1)) && says 26 * so you can use StrTran() or ChrTran() together with FileToStr/StrToFile() to get rid of the Chr(26) ? ASC(RIGHT(STRTRAN(FILETOSTR('sample.txt'),CHR(26)),1)) * Or use Text/EndText instead of Set Alternate: Local lcContent TEXT TO lcContent NOSHOW this is a sample of the text. ENDTEXT STRTOFILE(m.lcContent,'sample2.txt') ? ASC(RIGHT(FILETOSTR('sample2.txt'),1))hth