包含头文件<stdlib.h> mbtowc Convert multibyte character to wide character (function) 多字节字符到宽字节字符 wctomb Convert wide character to multibyte character (function) 宽到多 mbstowcs Convert multibyte string to wide-character string (function) 多字节字符串到宽字节字符串 wcstombs Convert wide-character string to multibyte string (function) 宽到多 setlocale(LC_ALL,""); //设置本地默认(国别) setlocale(LC_ALL,"C"); //恢复