摘要: int UTF2Uni(const char* src, AECHAR *&t){if (src == NULL) { return -1;}int size_s = STRLEN(src);int size_d = size_s*2 +1; //?AECHAR *des = new AECHAR[size_d];MEMSET(des, 0, size_d * sizeof(AECHAR));int s = 0, d = 0;bool toomuchbyte = true; //set true to skip error prefix.while (s < size_s &am 阅读全文
posted @ 2008-05-21 20:56 MXi4oyu 阅读(192) 评论(0) 推荐(0) 编辑