DXM and Web Content Management
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CMS Knowledge Base

Why are there garbage characters on my web page?

Answer
UTF-8 Encoding Issues
Symptoms:

The web page has strange characters where extended characters or multi-byte characters show (see example):

utf8-issue.png

Fix for .NET websites
  • In the publishing package, check if UTF-8 is enabled.  If UTF-8 is not enabled, try republishing.  When UTF-8 encoding is not enabled, the output is HTML entities and would not cause UTF-8 encoding errors.
  • Add globalization to the web.config:
<system.web>
<globalization fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8" />
</system.web>
Labels (4)
Version history
Revision #:
3 of 3
Last update:
‎05-01-2019 12:42 PM
Updated by:
 
Contributors
Looking for more?
Ask in Discussions
Developers

Peer-to-peer support  and answers on developing CMS templates, modifying privacy scripts or building integrations.

Digital Experience Management

Find answers and ask questions on content management, personalization and targeting.

Digital Quality Management

Find answers and ask questions on WCAG and SEO quality management.

Digital Governance

Find answers and ask questions on consent and monitoring solutions.