请高手们来看看这是什么编码 把下面引号内的乱码复制到百度里搜索就会变成中文了“椋庡惞椋橀洩”请问用c++怎么解码?谢谢了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 char *pStr = "椋庡惞椋橀洩"; int length = MultiByteToWideChar(CP_UTF8,0,pStr,-1,0,0); WCHAR *wszBuffer = new WCHAR[length+1]; memset(wszBuffer,0,(length+1)*2); length = MultiByteToWideChar(CP_UTF8,0,pStr,-1,wszBuffer,length+1);UTF-8。截出来内容是 风吹飘雪 //to_utf8_string ( ansi_string ( "椋庡惞椋橀洩" ) ) //----ansi_string convert utf16-little-endian format input data to ansi format//---- input = 0B 69 A1 5E DE 60 0B 69 40 6A 29 6D //---- output = E9 A3 8E E5 90 B9 E9 A3 98 E9 9B AA ////--to_utf8_string convert utf8 format input data to string//-- input = E9 A3 8E E5 90 B9 E9 A3 98 E9 9B AA //-- output = "风吹飘雪"////-----最终计算结果 --- 风吹飘雪// ON_COMMAND工具栏按钮响应函数问题 请问如果禁用JS中的alert函数 请教一个有关VC的日期时间选择器的问题 100分求助,如何截获HTTP协议的请求/响应..... *^_^* 送15分!装了VS.NET的兄弟近来,在线等待! ShowWindow(SW_HIDE); 学习编写浏览器的插件技术,该看那一类的书? 问题:关于ocx控件 这段程序怎么不能构建????????????????????????? 在Win2000中如何取得密码框中的文本? 键盘钩子中 怎么修改拦截到的消息? cab包里的dll下载后解压到哪?
char *pStr = "椋庡惞椋橀洩";
int length = MultiByteToWideChar(CP_UTF8,0,pStr,-1,0,0);
WCHAR *wszBuffer = new WCHAR[length+1];
memset(wszBuffer,0,(length+1)*2);
length = MultiByteToWideChar(CP_UTF8,0,pStr,-1,wszBuffer,length+1);UTF-8。截出来内容是 风吹飘雪
//to_utf8_string ( ansi_string ( "椋庡惞椋橀洩" ) )
//----ansi_string convert utf16-little-endian format input data to ansi format
//---- input = 0B 69 A1 5E DE 60 0B 69 40 6A 29 6D
//---- output = E9 A3 8E E5 90 B9 E9 A3 98 E9 9B AA
//
//--to_utf8_string convert utf8 format input data to string
//-- input = E9 A3 8E E5 90 B9 E9 A3 98 E9 9B AA
//-- output = "风吹飘雪"
//
//-----最终计算结果 --- 风吹飘雪
//