摘要:
#include <iostream>
#include <string>
#include <errno.h>
#include <iconv.h> using namespace std; //Linux下 GB2312和UTF8转换接口
class CUtilTools {
public: CUtilTools(){}; ~CUtilTools(){}; //iInLen的长度不包括\0,应该用strlen。返回值是处理后的sOut长度 static int Utf8ToGb2312(char *sOut, int iMaxOutLen,. 阅读全文
posted @ 2012-03-10 16:23
butterflydog
阅读(658)
评论(0)
推荐(0)
浙公网安备 33010602011771号