[Mono-bugs] [Bug 480178] System.Globalization.CharUnicodeInfo.GetUnicodeCategory() does not handle surrogate characters appropriately.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 17 14:18:55 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=480178#c41


Damien Diederen <dd at crosstwine.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #362387|0                           |1
        is obsolete|                            |

--- Comment #41 from Damien Diederen <dd at crosstwine.com> 2010-05-17 18:18:53 UTC ---
Created an attachment (id=362716)
 --> (http://bugzilla.novell.com/attachment.cgi?id=362716)
CharTest: Add tests for astral plane characters/surrogate pairs 

  - Show that Char.GetUnicodeCategory(string,int) results in a lookup
    into the higher planes of the Unicode database when invoked on a valid
    surrogate pair, and returns the "normal" category code otherwise.

  - Perform a few sanity checks on the results of ConvertFromUtf32 and
    GetUnicodeCategory when invoked on codepoints from the higher planes.

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