问题是:
1. 在Unicode版本的程序中,使用CStdioFile读取非Unicode文本文件,如果含有中文字符,则读出来的就是乱码,如何解决?如果不使用CStdioFile,那么具体怎么处理?
2. 在Unicode版本的程序中,如何使用CStdioFile写入非unicode(包含中文)文本文件?或者有别的方法(不使用CStdioFile)?原贴地址是 http://community.csdn.net/Expert/topic/3655/3655775.xml?temp=.1938288
如果能解决问题,请再到原贴地址回复一下,我好给分,谢谢~~~

解决方案 »

  1.   

    帮你顶,VC做UNICODE真是太麻烦了,我也搞到头大.
      

  2.   

    CStdioFile函数不能用在UNICODE版本下
      

  3.   

    感谢wang_bluebird(bluebird).自己再顶~~
      

  4.   

    try this: http://www.codeproject.com/file/stdiofileex.asp
      

  5.   

    And more information you can get from URL : http://www.codeproject.com/file, I think it is problem which is already be solved. Enjoy it!
      

  6.   

    感谢alvachien(Ericsson T39mc),请再到原贴地址回复一下,我好给分。