Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

how to convert this IRI to URI ?

$
0
0
how to convert this IRI to URI ? http://down.qnwz.cn/uploads/media/broadcast/storymagazine/爱情的底牌.mp3 I hope the result type should be Qurl ,thanks it seems that QUrl QUrl::fromEncoded ( const QByteArray & input ) doesn’t work here . >>> from PyQt4.QtCore import * >>> url='http://down.qnwz.cn/uploads/media/broadcast/storymagazine/爱情的底牌.mp3' >>> QUrl.fromEncoded (QUrl(url).toEncoded()) PyQt4.QtCore.QUrl('http://down.qnwz.cn/uploads/media/broadcast/storymagazine/爱情的底牌.mp3') >>>

Viewing all articles
Browse latest Browse all 18427

Trending Articles