Click here to Skip to main content
15,881,380 members
Articles / Programming Languages / C++

Converting ANSI to Unicode and back

19 May 2011CPOL 673   2
+5 for your solution.An alternative way is:#include using namespace std;// Convert Ascii to Unicodevoid convertMultiByteToWideChar(string stAsciiString, wstring *wstUniString){ //Initialize variable int buffLen = 0; int j = 0; int iLen = 0; string...
Only logged in members can view this content

Please go to the C++ Table of Contents to view the list of available articles in this section.