http://bugzilla.novell.com/show_bug.cgi?id=586901
http://bugzilla.novell.com/show_bug.cgi?id=586901#c0 Summary: RichTextBox didn't handle Unicode string correctly Classification: Mono Product: Mono: Class Libraries Version: 2.6.x Platform: x86-64 OS/Version: Ubuntu Status: NEW Severity: Normal Priority: P5 - None Component: Windows.Forms AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a3pre) Gecko/20100303 Minefield/3.7a3pre After input unicode string into RichTextbox, For example some Chinese/Japanese data. call RichTextBox.RTF to get the rtf data, it found the code page of rtf is set to 1252, but the unicode chars are not correctly encoded, it is in plain text. so when reset the gotten rtf back to the RichTextBox, the unicode char changes to "????" Reproducible: Always Steps to Reproduce: 1.compile and run the attached test.cs gmcs -r:System.Windows.Forms.dll -r:System.Drawing.dll -target:winexe test.cs -codepage:utf8 2.click on the button 3.the text in richtext box will change to ?? Actual Results: text in richtext box change to ?? Expected Results: should display the same text as before -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
