如何GB转Big5编码
的有关信息介绍如下:试试用简体字输入法输入“惧(惧怕的惧)伙(同伙的伙)”两个字,应该会得到繁体的“晓鸣”两个字..BIG5的“明”在GB2312里没有对应的文字所以说没法输入..
#include #include #include #include int main(void) { char *temp; char sim="狗"; char tra; wchar_t uni; temp=setlocale(LC_ALL,".936"); puts(temp); printf("%s\t%2x %2x\r\n",sim,(unsigned char)(sim),(unsigned char)(sim)); if(-1==mbstowcs(uni,si
有相应的库的,调用接口函数就可以了