On Fri, Feb 08, 2008 at 11:02:24AM -0000, [EMAIL PROTECTED] wrote: > + > +QString getCodePoint(char_type c) > +{ > + QString cp = QString::number(c, 16); > + while (cp.size() < 4) > + cp.prepend('0'); > + cp.prepend("0x"); > + return cp; > +} > +
QString s; s.sprintf("0x%04x", 60000); should do the trick, too. Andre'