Is there a way to URLdecode a URL Param with AMPscript? I am passing form data (with enctype="application/x-www-form-urlencoded") into landing page that should then decode the data and then write to DE. Can this be accomplish with only AMPscript?
Encode on the landing page or email:
%%[ SET @queryStringPart2 = EncryptSymmetric("USE_ENCRYPTION_OF_CHOICE", &emailAddressemail@example.com&id=123", "etcetera") SET @newLink = Concat("http://pages.exacttarget.com/page.aspx?QS=773ed3059447707d9cf0f7f1ffa7a5cc", "&encrypted=", @queryStringPart2) ]%%
Then decode on the landing page:
%%[ SET @qsPart2 = QueryParameter("encrypted") /* gets the encrypted string */) SET @DecryptedString = DecryptSymmetric("DECRYPTION_OF_CHOICE", @qsPart2) /* Use Substring or regex to parse the decrypted string */ ]%%
Hope this helps!
So this is not really an answer, but the only way for me to post a screenshot:
Frankly I am not even sure, if this is the right approach, but we get stuff like this in Salesforce "D�sseldorf" and the Data comes through a webform -> webhook -> cloudpage. And I am not quite sure where in our connection the special characters get scrambled up.