Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt_urlRecode -> recode() method returns strange values



  • This post is deleted!


  • 7B and 7D are hex code for { and }.

    I did this code and everything is ok. In output I have { and }.
    @
    QUrl url;
    url.setFragment( "{8fee84ac-c008-458e-a68a-898803cc2c75}" );

    qDebug() << "Default: " << url.fragment();
    qDebug() << "Return fully decoded: " << url.fragment( QUrl::FullyDecoded  );
    

    @

    Paste the code where you have a issue.



  • This post is deleted!


  • If you put working example on which will see your issue then we will try solve a problem. You can't make:
    @
    url.setFragment( uuid );
    @
    because result is:
    @
    error: no matching function for call to 'QUrl::setFragment(QUuid&)'
    @

    Why you need a { } in path? Where are you using this path?

    Maybe you are doing something odd in code.



  • This post is deleted!

Log in to reply