--- "j.m.maurer" <[EMAIL PROTECTED]> 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
