Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

EPiServer removing HTML character encoding

We've come across a problem with the DHTML editor and HTML character encoding. If you enter in HTML code view and then switch back to normal view the trademark symbol is shown. When switching back to HTML code view instead of still being shown the symbol now shows instead when ideally the editor should maintain the encoded version of the symbol. It appears that initially the editor treats as ™. Has anyone come across this before or found a resolution to this? Thanks.
Aug 04, 2006 17:28
Yes, I have come across the same issue and it happens to all special HTML characters. I logged this issue with EPiServer and they have identified it as an issue and assigned it issue number 45513. Their response below: "Thank you for the report. We agree that this is an unwanted behaviour and I have added the following issue for this: #45513: The dhtml editor does not html encode all characters. However, you should be aware that this could be behaviour in the edit functionallity in IE that the editor builds on. If this is the case, it is not sure that we are able to change this behaviour but we will at least investigate this."
Aug 06, 2006 22:54
Have you ever seen it where instead of the symbol (such as the trademark symbol) when viewing the page a question mark symbol is displayed instead. I've checked the HTML source of the page when viewing it and there is a question mark in the HTML source but when looking at the HTML source in edit mode, the trademark symbol is in the code. I'm baffled by this one as I can paste the symbol in to the sample site and it appears ok. In both places we're using the XHTML string property.
Aug 07, 2006 9:57
No, I have not seen this before. Have you tried viewing the content in different browsers? It could be a doctype/encoding issue that the browser can't understand, but I can't really be sure.
Aug 08, 2006 0:20
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.