[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:03:56 EDT 2010


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

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


Damien Diederen <dd at crosstwine.com> changed:

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

--- Comment #20 from Damien Diederen <dd at crosstwine.com> 2010-05-04 19:03:54 UTC ---
Created an attachment (id=359239)
 --> (http://bugzilla.novell.com/attachment.cgi?id=359239)
create-category-table: Utility to generate reasonably-packed Unicode tables

This program generates a bi-level category table encoding the contents
of the Unicode category property database of the hosting runtime.

Mono embeds a linear table with category codes for the Unicode BMP
(first 65536 codepoints), and lacks information about characters in
the astral planes--leading to requests such as bug 480178.  Extending
the linear table to cover the full codespace is not an ideal solution
as that would expand the embedded "blob" by a factor of 17.

The new tables generated by this program can be used to support the
full 0000-10FFFF range of characters.  Despite covering a much larger
codespace, the "page" sharing mechanism enabled by the additional
level of indirection allows the data size to shrink from 64 to ~30kB.

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