以下成員源於類 QTextEncoder are part of the Qt compatibility layer. We advise against using them in new code.
| QByteArray | fromUnicode (const QString & uc , int & lenInOut ) |
這是重載函數。
轉換 lenInOut 字符 (非字節) 從 uc ,並返迴結果按 QByteArray . The number of characters read is returned in the lenInOut 參數。