HTML & XML encode for special characters

When working with SharePoint List Instance, List Definition, you meet some special character that display wrong on the Web page.

Example:

ü --> ¼c

ö --> ä

….

With HTML you can use HTML codes to fix

ö --> ö

ü  --> ü

 

In the XML content, the HTML codes will make schema not correct. so you need to use XML codes to fix this:

ö --> ö

 

ü  --> ü

You can use this page for HTML code: http://www.thesauruslex.com/typo/eng/enghtml.htm

XML code: http://www.w3.org/TR/html4/sgml/entities.html#h-24.2

Comments

Popular posts from this blog

Setup SharePoint 2010

Register CSS to SP Master Page