beplay体育官网下载-beplay官网-beplaysports下载
日期:2020/1/18  发布人:润宇beplay体育官网下载  浏览量:11
 

 /// <summary>
    /// 转为utf-8
    /// </summary>
    /// <param name="str">要转换的字符串</param>
    /// <returns>utf-8字符串</returns>
    private static string Toutf-8(this string str)
    {
        byte[] buffer = Encoding.GetEncoding(936).GetBytes(str);
        string utf-8 = Encoding.GetEncoding(936).GetString(buffer);
        return utf-8;
    }