#include <stdio.h>
#include <locale.h>
//编译连接加上 -fexec-charset=GB2312 -finput-charset=GB2312 //GBK
wchar_t * ANSIToUnicode( const char* str )
{
int textlen ;
wchar_t * result;
textlen = MultiByteToWideChar( CP_ACP, 0, str,-1, NULL,0 );
result = (wchar_t *)mal...