Re: Commit: string classes rearranged

From: Dom Lachowicz (domlachowicz@yahoo.com)
Date: Fri Jan 03 2003 - 17:08:15 EST

  • Next message: Andrew Dunbar: "Re: Commit: string classes rearranged"

    --- "j.m.maurer" <j.m.maurer@student.utwente.nl>
    wrote:
    > Op vr 03-01-2003, om 22:17 schreef Dom Lachowicz:
    > > I'll re-enable the UCS2 methods on the UCS4 and
    > UTF8
    > > string classes and simply remove the UCS2 string
    > class
    > > and other silly ucs2 functions.
    > >
    >
    > Great! That's all I need (and should be needed)

    Or, as Wlach and I discussed on IRC, since UCS2 is a
    proper subset of UCS4, all you need to do is append
    the chars to a UCS4String class by casting them to a
    UCS4Char first:

    for (i=0;i<len;i++)
      ucs4 += (UT_UCS4Char)ucs2[i];

    Dom

    __________________________________________________
    Do you Yahoo!?
    Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
    http://mailplus.yahoo.com



    This archive was generated by hypermail 2.1.4 : Fri Jan 03 2003 - 17:11:46 EST