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

Damien Diederen dd at crosstwine.com
Fri May 14 17:10:15 EDT 2010


Hi,

I just uploaded an updated series of patches addressing bug 480178:

  https://bugzilla.novell.com/show_bug.cgi?id=480178#c27

This is ready to be committed as far as I am concerned, but comments are
of course welcome.  Note that I do *not* have commit privileges, so
somebody else will have to take care of it even in case of green light.

>From the “cover letter”:

> Should apply cleanly on top of mono/mcs r157360.
> 
> This version uses the same technique as v2, as suggested by Paolo
> (cf. comment #18), but supports two sets of tables: one compatible
> with v2.0.50727...v3.5.21022 of Microsoft's framework, and one
> matching v4.0.30319 (which incorporates substantial changes).  The
> appropriate set is automatically chosen based on the 'corlib' profile.
> 
> The mechanism can be extended to an arbitrary number of versions, and
> has also been tested with v1.1.4322, but these additional tables have
> been left out not to bloat the Mono binaries as recent 'mcs' link to
> the 'net_2_0' profile anyway.
> 
> Please cf. the individual ChangeLog entries for more details about the
> compatibility and performance implications.  The first patch is for
> 'mono'; the six others for 'mcs'.

Cheers,
Damien

-- 
http://crosstwine.com
tel:  +49 21 89 29 39
cell: +49 174 34 89 428

“Strong Opinions, Weakly Held”
                 — Bob Johansen


More information about the Mono-devel-list mailing list