Re: gunicode# (was Re: [Muine] NEW PRERELEASE: 0.8.1pre3)



�el kenal p�al (kolmap�, 26. jaanuar 2005, 21:47+0100), kirjutas
G�r Farkas:
> Jorn Baayen wrote:
> > �el kenal p�al (kolmap�, 26. jaanuar 2005, 21:33+0200), kirjutas
> > Jorn Baayen:
> > 
> >>�el kenal p�al (kolmap�, 26. jaanuar 2005, 18:25+0000), kirjutas
> >>Edd Dumbill:
> >>
> >>>On Tue, 2005-01-25 at 16:15 +0200, Jorn Baayen wrote:
> >>>
> >>>>�el kenal p�al (teisip�, 25. jaanuar 2005, 14:26+0200), kirjutas z:
> >>>>
> >>>>>where do we get Gunicode# from?
> >>>>
> >>>>As you could read in the mail you just replied to, from:
> >>>>http://www.jbaayen.dds.nl/gunicode-sharp.html
> >>>
> >>>Out of interest, what does gunicode# provide that the Mono libraries
> >>>can't do?
> >>
> >>I haven't been able to find anything in the Mono libraries that allows
> >>you to check if a character is, say, alphanumeric: the whole
> >>g_unichar_is* series. And then, I haven't been able to find an
> >>equivalent of g_utf8_collate_key either .. basically most of the
> >>functions in gunicode.h don't seem to have a mono equivalent.
> > 
> > 
> > Argh, am I blind or what... it's right there, under my nose,
> > System.Char.Is*. And I remeber searching for these endlessly ..
> > 
> > /me slaps self
> > 
> > Okay.. :) Let's see what is left of gunicode# after taking all these
> > out ..
> 
> i don't know how the g_unichar_is* stuff works, but please note that  in 
> unicode what is alphanumeric depends on a lot of stuff, like locale and 
> such.. ;)

Yea, I know that, that is the whole point of the fuss ;)

However, now that I have oh so brilliantly discovered System.Char.Is*
and System.Globalization.SortKey, GUnicode# is already obsolete.

Three cheers to Edd for waking me up (Thanks!), and none for my
stupidity.

Jorn




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]