Save into a UTF-8 file?
-
I'm currently working on a project which needs to read contents from an ANSI text file and save into another text file in UTF-8 format, in fact it needs to convert about a thousand files from ANSI to UTF-8 and those old ANSI files must remain unmodified. Any suggestions? I'm not familiar with text encoding stuff...
-
I'm currently working on a project which needs to read contents from an ANSI text file and save into another text file in UTF-8 format, in fact it needs to convert about a thousand files from ANSI to UTF-8 and those old ANSI files must remain unmodified. Any suggestions? I'm not familiar with text encoding stuff...
maybe it is some helpful to you http://www.codeproject.com/file/CStdioFile_UTF8.asp[^] http://www.codeproject.com/file/TextFileIO.asp[^]
-
I'm currently working on a project which needs to read contents from an ANSI text file and save into another text file in UTF-8 format, in fact it needs to convert about a thousand files from ANSI to UTF-8 and those old ANSI files must remain unmodified. Any suggestions? I'm not familiar with text encoding stuff...
=[ Abin ]= wrote:
'm not familiar with text encoding stuff.
Read this article[^] before you start coding.
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ