1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Write ansi txt files from unicode mfc application

Discussion in 'MFC' started by senzavento, Oct 5, 2010.

  1. senzavento

    senzavento New Member

    Joined:
    Oct 5, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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
     

Share This Page