Convert to unicode text



  • Hi normally when i convert the data string i do this

    QString::fromUtf16((ushort*)data);
    

    But how i can convert to unicode??


  • Qt Champions 2018

    QString::toUtf8() or QString::utf16()


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.