Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!

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

Avatar

Level 3

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

4 Replies

Avatar

Community Advisor

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
     Find me on LinkedIn

Avatar

Community Advisor

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.

Avatar

Level 3

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

Avatar

Administrator

Hi @kotisyamala,

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

Thanks!



Sukrity Wadhwa