Example #1
0
        public EncodingTester(string encodingName)
        {
            var decoderFallback = new DecoderTestFallback(this.DecoderFallback);

            encoding = Encoding.GetEncoding(encodingName, new EncoderReplacementFallback(), decoderFallback);
        }
Example #2
0
		public EncodingTester (string encodingName)
		{
			var decoderFallback = new DecoderTestFallback (this.DecoderFallback);
			encoding = Encoding.GetEncoding (encodingName, new EncoderReplacementFallback(), decoderFallback);
		}