Qt如何在Qt 4.7中解码字符串(旧方法不见了) [英] Qt how to decode string in Qt 4.7 (old method are gone)
本文介绍了Qt如何在Qt 4.7中解码字符串(旧方法不见了)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Qt 4.7.1并尝试从以下位置解码URL
:
https://xxx.com& since = 2011-01-27T10%3A33%3A50%2B0000
到有效日期,但是我可以找到任何方法
Im using Qt 4.7.1 and im trying to find way to decode url from : https://xxx.com&since=2011-01-27T10%3A33%3A50%2B0000 to vaild date , but i can find any way to do it now .. it used to be QUrl::decode.
推荐答案
请参见 QString QUrl :: fromPercentEncoding(const QByteArray& input)[静态]
这篇关于Qt如何在Qt 4.7中解码字符串(旧方法不见了)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文