using System;
using System.IO;
using System.Text;
public class StringWriterWithEncoding : StringWriter
{
public StringWriterWithEncoding( StringBuilder builder, Encoding encoding )
: base( builder )
{
_encoding = encoding;
}
Encoding _encoding;
public override Encoding Encoding
{
get { return _encoding; }
}
}
No comments:
Post a Comment