virtual public void Text() { b = Encoding.GetEncoding("ISO-8859-1").GetString(Encoding.Default.GetBytes("aeéèàçï")); ITagProcessorFactory tagFactory = new CustomTagProcessorFactory(); ((HtmlPipelineContext) p.GetLocalContext(wc)).SetTagFactory(tagFactory) .CharSet(Encoding.GetEncoding("ISO-8859-1")); p.Content(wc, new Tag("tag"), b, new ProcessObject()); }
virtual public void Text() { b = Encoding.GetEncoding("ISO-8859-1").GetString(Encoding.Default.GetBytes("aeéèàçï")); ITagProcessorFactory tagFactory = new CustomTagProcessorFactory(); ((HtmlPipelineContext)p.GetLocalContext(wc)).SetTagFactory(tagFactory) .CharSet(Encoding.GetEncoding("ISO-8859-1")); p.Content(wc, new Tag("tag"), b, new ProcessObject()); }