Diamonds with question marks

I am getting these little diamonds with question marks in them in my HTML attributes when I submit data from my database. I am using EPiServer and a few custom properties.

This is the information I have collected

  • I am saving my data as an XML document as I am using EPiServer's own properties that require more than one specific value. This is saved as UTF8.

  • It only attributes in tags of elements that have this problem, like align = left become align = left. There is no "character", but I still get diamonds.

  • If I use "outside of element" it works and displays correctly.

Any hints?

+2


a source to share


2 answers


This is a problem with your character encoding scheme.



I would recommend reading this article where (close to it) it shows you why you are getting this little diamond with question marks.

+2


a source


Whether XML has been affected by any Microsoft Office product.

It is notorius to switch vanilla quotes (") x'22 'to smartquotes x'93' and x'94 '(" ").



Also singlequote (') is often converted from x'27' to x'91 'and x'92' pairs (').

+1


a source







All Articles