[Mono-bugs] [Bug 80820][Wis] New - XmlTextWriter: incorrect xml declaration

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Feb 13 05:29:47 EST 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by nicola at dinosoft.it.


--- shadow/80820	2007-02-13 05:29:47.000000000 -0500
+++ shadow/80820.tmp.21080	2007-02-13 05:29:47.000000000 -0500
@@ -0,0 +1,35 @@
+Bug#: 80820
+Product: Mono: Class Libraries
+Version: 1.2
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: Sys.XML
+AssignedTo: atsushi at ximian.com                            
+ReportedBy: nicola at dinosoft.it               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: XmlTextWriter: incorrect xml declaration
+Steps to reproduce the problem:
+XmlWriterSettings xmlws = new XmlWriterSettings();
+xmlws.Encoding = Encoding.UTF8;
+StringWriter output = new StringWriter();
+XmlWriter xml = XmlTextWriter.Create(output, xmlws);
+The emitted XML declaration is
+<?xml version="1.0" encodinf="utf-16"?>
+but should be 
+<?xml version="1.0" encodinf="utf-8"?>

More information about the mono-bugs mailing list