以下成员源于类 QUrl 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
QString
|
fromPunycode (const QByteArray & pc ) |
(obsolete)
QByteArray
|
toPunycode (const QString & uc ) |
[static]
QString
QUrl::
fromPunycode
(const
QByteArray
&
pc
)
Returns the Punycode decoded representation of pc .
Punycode is a Unicode encoding used for internationalized domain names, as defined in RFC3492. If you want to convert a domain from its ASCII-compatible encoding to the Unicode representation, use fromAce ().
[static]
QByteArray
QUrl::
toPunycode
(const
QString
&
uc
)
返回 uc in Punycode encoding.
Punycode is a Unicode encoding used for internationalized domain names, as defined in RFC3492. If you want to convert a domain name from Unicode to its ASCII-compatible representation, use toAce ().