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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue May 4 15:05:32 EDT 2010


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

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


Damien Diederen <dd at crosstwine.com> changed:

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

--- Comment #22 from Damien Diederen <dd at crosstwine.com> 2010-05-04 19:05:31 UTC ---
Created an attachment (id=359241)
 --> (http://bugzilla.novell.com/attachment.cgi?id=359241)
System.Char: Handle astral planes in GetUnicodeCategory(string,int)

If the string element at index starts a surrogate pair, we decode the full
codepoint and use the GetCategoryCode utility to query the higher planes of
the database.

This commit fixes bug 480178

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