Skip to main content
KotiSyamala
Level 5
Mar 25, 2022 7:53 PM UTC
Solved

Adobe Campaign Classic unsubscription webApp unable to set utf-8 charset

Hi Team,

we are unable to set Adobe campaign classic unsubscription webApp charset to utf-8 and special chars are displaying as junk chars. 

 

We are facing the end page activity of the Unsubscription webApp.

 

Any suggestions would be helpful.

 

Thanks,

Koti

#adobecampaignclassic #webapps

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Marcel_Szimonisz
Marcel_SzimoniszAccepted solution
Community Advisor
Mar 30, 2022 8:22 AM UTC

Hello @kotisyamala ,

can you also make sure the page code you are adding is in utf-8?

Also it happened to me in some version (not happening on 9282) that if you use page activity where you can paste your own code.. and use a lot of JavaScript somehow when you reopen the page and save it it will scramble your entire code. So it only works when you open page paste your code that is UTF-8 and save it.

4 replies

Manoj_Kumar
Community Advisor
Community Advisor
Mar 29, 2022 3:23 AM UTC

Hello @kotisyamala 

 

You will have to replace the special characters with the HTML code.

For eg & can be replaced with &

Similarly you will to identify the HTML replacement of your characters.

Translate
Manoj  | https://themartech.pro
Marcel_Szimonisz
Community Advisor
Marcel_SzimoniszCommunity AdvisorAccepted solution
Community Advisor
Mar 30, 2022 8:22 AM UTC

Hello @kotisyamala ,

can you also make sure the page code you are adding is in utf-8?

Also it happened to me in some version (not happening on 9282) that if you use page activity where you can paste your own code.. and use a lot of JavaScript somehow when you reopen the page and save it it will scramble your entire code. So it only works when you open page paste your code that is UTF-8 and save it.

Translate
KotiSyamala
Level 5
Apr 13, 2022 4:55 PM UTC

Thanks for your quick response @marcel_szimonisz @_manoj_kumar_ 

We are reading the data from the custom schema and displaying it on the page

 

On JS we are querying xtk.queryDef.create() and the response we are diaplying on the page <%=ctx.customSchemaFields.@content%>

 

JS Activity (reads content value sets to ctx.customSchemaFields) -- > Page displays Fine <%=ctx.customSchemaFields.@content%> --> End page but dispalys junk values <%=ctx.customSchemaFields.@content%>

 

but still, it renders as junk chars © 2022 instead of © 2022

Translate
Sukrity_Wadhwa
Level 4
Jul 12, 2022 5:36 AM UTC

Hi @kotisyamala,

Were you able to resolve this query or do you still need more help here? Do let us know.

Thanks!

Translate
Sukrity Wadhwa