[Mono-bugs] [Bug 594628] New: Mono's Xml converts special unicode char  too � �
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Apr 7 19:41:52 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=594628
http://bugzilla.novell.com/show_bug.cgi?id=594628#c0
Summary: Mono's Xml converts special unicode char  too
��
Classification: Mono
Product: Mono: Class Libraries
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Minor
Priority: P5 - None
Component: Sys.XML
AssignedTo: atsushi at ximian.com
ReportedBy: tom_hindle at sil.org
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=353011)
--> (http://bugzilla.novell.com/attachment.cgi?id=353011)
Test case the shows .NET/mono difference
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5
(KHTML, like Gecko) Chrome/4.0.249.43 Safari/532.5
IE:
XmlDocument doc = new XmlDocument();
doc.InnerXml = "<tr></tr>";
Console.WriteLine(doc.InnerXml);
Outputs <tr>��</tr> on mono and <tr></tr> on .NET
Seems to be converting from specail unicode char 0xFFFF to a surrogate pair?
I know this is very minor, but I thought I would report a mono/.NET difference.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Actual Results:
<tr>��</tr>
Expected Results:
<tr></tr>
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list