Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges


UTF-8 characters returned from Search and Promote show garbled characters


Level 4

When using Search and Promote integration with AEM, certain UTF-8 characters are returned in results (XML) as garbled characters. Text is visible correctly in Search and Promote data view report with proper UTF-8 encoding.

I have added the charset as UTF-8 in both custom presentation and transport templates. Any idea why the text in XML response is not having proper encoding.



<guided-content-type-header content="text/xml; charset=UTF-8" />
<guided-xml-decl charset="UTF-8">



<guided-content-type-header content="text/xml">
<guided-xml-decl charset="1">


1 Accepted Solution


Correct answer by
Community Advisor
3 Replies


Correct answer by
Community Advisor

Try adding sp_cs=UTF-8  parameter to the URL e.g*&sp_cs=UTF-8



Albin I


Level 4

Any other tags which I can add in transport template to get rid of this charset issue. I tried this snippet in transport template.


<guided-content-type-header content="text/xml;charset=UTF-8">
<guided-xml-decl charset="UTF-8">