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

http://bugzilla.novell.com/show_bug.cgi?id=567362#c0


           Summary: System.String(char[]) constructor does not recognize
                    unicode
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;
rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6

Constructing a string from unicode characters does not appear to work.

Reproducible: Always

Steps to Reproduce:
char[] chars = new char[]
{(char)12371,(char)12435,(char)12395,(char)12385,(char)12399};
string str = new String(chars);
Console.WriteLine(str);
Actual Results:  
Displays this:

?????

Expected Results:  
Should display this:

こんにちは

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to