EdwardChan
Crownpeak Employee
Crownpeak Employee

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 (1)

Can't find what you are looking for?

Find Answers

Search our DXM Forum to find answers to questions asked by other DXM users.

Ask a Question

No luck? Ask a question. Our Product and Support teams are monitoring the Forum and typically respond within 48 hours.

Ask a Question