mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-14 12:05:58 +08:00
删除重复代码
This commit is contained in:
@@ -36,11 +36,8 @@ namespace mediakit {
|
||||
|
||||
class strCoding {
|
||||
public:
|
||||
static string UrlUTF8Encode(const string &str); //urlutf8 编码
|
||||
static string UrlUTF8Decode(const string &str); //urlutf8解码
|
||||
|
||||
static string UrlGB2312Encode(const string &str); //urlgb2312编码
|
||||
static string UrlGB2312Decode(const string &str); //urlgb2312解码
|
||||
static string UrlEncode(const string &str); //urlutf8 编码
|
||||
static string UrlDecode(const string &str); //urlutf8解码
|
||||
#if defined(_WIN32)
|
||||
static string UTF8ToGB2312(const string &str);//utf_8转为gb2312
|
||||
static string GB2312ToUTF8(const string &str); //gb2312 转utf_8
|
||||
|
||||
Reference in New Issue
Block a user