I am trying to encode this URL into a cpp string:
myproject://myresponse/?token=QSDK%2031d8695d&userId=123
I need to store QSDK token in my database, but as you can see there is %20 after "QSDK", I need to convert that %20 into "space character" and store the QSDK token in my DB in this form: "QSDK 31d8695d" . Can someone please help me with this? Is there any built in function to convert url encoding into normal string in cpp?
I know there is always an option to find %20 after QSDK and replace it by space but it is not good way. Can you please suggest if any built in functions exist.
I am using wxWidgets, is there any function from wxURI or simialr class which I can use for my purpose?