Adobe Campaign Classic unsubscription webApp unable to set utf-8 charset | Community
Skip to main content
KotiSyamala
Level 5
March 25, 2022
Solved

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

  • March 25, 2022
  • 4 replies
  • 1236 views

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.
Best answer by Marcel_Szimonisz

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
March 29, 2022

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.

Manoj  | https://themartech.pro
Marcel_Szimonisz
Community Advisor
Marcel_SzimoniszCommunity AdvisorAccepted solution
Community Advisor
March 30, 2022

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.

KotiSyamala
Level 5
April 13, 2022

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

Sukrity_Wadhwa
Community Manager
Community Manager
July 12, 2022

Hi @kotisyamala,

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

Thanks!

Sukrity Wadhwa