Important: Please read the Qt Code of Conduct -

QUrl::toPercentEncoding on Android

  • Hi all,

    I have an issue when trying to percentEncode a QString on android.
    For example if we take the string "test x".
    On OS X I get "test x" but on Android the ouput is garbage..I get "test b888bbb8"
    This is when it is inside my code.
    However if I run a simple QCoreApplication with this same QString there is no issue.

    What could possibly mess up with the encoding in my project ?

    I did commented out the whole thing and just ran the test in the Main.cpp within my project and I don't have the issue..

Log in to reply