[Mono-bugs] [Bug 596402] non programmatically copying Unicode onto clipboard causes Clipboard.GetText() to return Unicode escaped sequences.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Apr 19 07:03:53 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=596402

http://bugzilla.novell.com/show_bug.cgi?id=596402#c1


Carlos Alberto Cortez <calberto.cortez at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |calberto.cortez at gmail.com

--- Comment #1 from Carlos Alberto Cortez <calberto.cortez at gmail.com> 2010-04-19 11:03:52 UTC ---
Hye,

Using a modified version of your sample is showing a pair of japanese chars
here:

using System;
using System.Windows.Forms;

namespace ClipboardTest
{
        class MainClass
        {
                public static void Main(string[] args)
                {
                        string s = "\u767b\u5165";
                        Clipboard.SetText (s);
                       
Console.WriteLine(Clipboard.GetText(TextDataFormat.UnicodeText));
                        Console.WriteLine(Clipboard.GetText());
                }
        }
}

You are you are using svn?

-- 
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