编程是一种艺术

导航

2013年4月9日 #

URL编码解码类

摘要: URL编码分为ansii和utf8 同时这两种又分为是否编码空格等等,为了方便使用封装此类头文件:#ifndef _URLENCODE_H_#define _URLENCODE_H_ #include <string>// Decode all encoded characters. Also decode + as space.int UrlDecode(const char *source, char *dest, unsigned max);int UrlDecodeUTF8(const char *source, char *dest, unsigned max);// D 阅读全文

posted @ 2013-04-09 11:47 君千殇 阅读(288) 评论(0) 推荐(0)