[Mono-bugs] [Bug 596402] New: non problematically copying Unicode onto clipboard causes Clipboard.GetText() to return Unicode escaped sequences.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Apr 13 18:44:51 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=596402
http://bugzilla.novell.com/show_bug.cgi?id=596402#c0
Summary: non problematically copying Unicode onto clipboard
causes Clipboard.GetText() to return Unicode escaped
sequences.
Classification: Mono
Product: Mono: Class Libraries
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: tom_hindle at sil.org
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=354213)
--> (http://bugzilla.novell.com/attachment.cgi?id=354213)
trivial test case showing issue
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.3a4pre)
Gecko/20100322 Minefield/3.7a4pre
public static void Main(string[] args)
{
// copy this into clipboard: "登入";
Console.WriteLine(Clipboard.GetText(TextDataFormat.UnicodeText));
Console.WriteLine(Clipboard.GetText());
}
Reproducible: Always
Steps to Reproduce:
1. Compile Attached test case
2. Copy "登入" into clipboard either from MonoDevelop or gedit
3. Run Program
Actual Results:
\u767b\u5165
Expected Results:
登入 ( two PinYin chars)
--
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.
More information about the mono-bugs
mailing list