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

Miguel de Icaza miguel at novell.com
Mon May 17 13:53:37 EDT 2010


Hello,

> This approach grows the category data table from 64 to ~70kB, and
> requires an additional 8kB index for the astral planes.  The resulting
> runtime produces the same results as Microsoft's v2.0.50727 and
> v3.5.21022 for the whole Unicode range, but has no support for v4.
> 
> Would that be an acceptable overhead?

I think this is acceptable overhead;   I would like to have an option to
turn off the astral planes if possible.

> Would supporting v4.0.30319 be worth it at an additional cost of ~78kB
> of data (which shouldn't be faulted in) in the Mono binary?

If you are up for it, I would love to support the 4.0 code as well, as
our next release will be a big push for 4.0 support (this will be our
new default).

Is your Linear + bi-level patch available in Bugzilla?

Miguel.



More information about the Mono-devel-list mailing list