Hi, my unicode mfc application write a txt files. After porting application to unicode also the txt files that application write are unicode and this not work for compatibility with other application that read file. To write files I use CFile and CArchive mfc class. How to write txt files with ansi encoding. thank you