public override int Read(byte[] buffer, int offset, int count)
{
return _sink.Read(buffer, offset, count);
}
/// <summary>
/// 实际处理字符替换的作业,将简体字和繁体字进行替换。
/// </summary>
/// <param> </param>
/// <param></param>
/// <param></param>
public override void Write(byte[] buffer, int offset, int count)
{
Encoding e=Encoding.GetEncoding(936); //936是GB2312编码,950是Big5编码
ASP.NET中实现中文简/繁体自动转换的类(2)
内容版权声明:除非注明,否则皆为本站原创文章。