Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
> | 2 The code itself in many of these functions reinvents the wheel. It
> | would be nice if ucs2_to_ucs4 et al were just iconv wrappers.

> Aren't they just iconv wrappers?
> In what way are they reinventing the wheel?

Maybe nothing. I guess these filters made me suspicious:

        in.push_back(static_cast<char>(s & 0xff000000)); 
        in.push_back(static_cast<char>(s & 0x00ff0000)); 
        in.push_back(static_cast<char>(s & 0x0000ff00)); 
        in.push_back(static_cast<char>(s & 0x000000ff)); 

Angus

Reply via email to