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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice