11
2015
07

C#字符串编码帮助类

/// <summary>

/// 字符串编码帮助类

/// </summary>

public class EncodingHelper

{

    /// <summary>

    /// 字符串编码转换

    /// </summary>

    /// <param name="srcEncoding">原编码</param>

    /// <param name="dstEncoding">目标编码</param>

    /// <param name="srcStr">原字符串</param>

    /// <returns>字符串</returns>

«1»