
转换
zzb_max
这个作者很懒,什么都没留下…
展开
-
编码转换问题
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <iconv.h> /** * 中文字串转为utf8格式字串 * src 中文字串 * ret utf8字串 * len src串的长度 * 返回转换后的utf8串的长度 * 说明:ret大小应该...原创 2019-09-30 16:58:08 · 242 阅读 · 0 评论 -
二进制转字符串代码
typedef char s8; typedef unsigned char u8; typedef short s16; typedef unsigned short u16; typedef int s32; typedef unsigned long ulong; s32 uti_text2hex(s8* pszBodyIn, s8...原创 2020-04-07 19:29:05 · 456 阅读 · 0 评论