I use some RichHtmlField controls (PublishingWebControls) in different pagelayouts. I edit the pages, put some text in the fields and publish. It all seems to work fine, but I've noticed that SharePoint saves an extra character to my string. Usually it's
added at the beginning of the string, but sometimes at the end.
You cannot see it using the ordinary browser window, because it's a zero width space character. But if you right click and select View source, it's visible as a big space.
It's possible to copy the text from the view source window to a text editor preserving this character, so I pasted it as a string in a c# program. When I loop through every character in the string to check its ascii value, this particular character shows as 8203.
I used CAML Builder to check what my string looked like in the database. I couln't see anything strange, but when I copied the string from the CAML Builder result tab and pasted it into a hex editor, you could clearly see that the strange character was there.
The problem is that we translate our pages to different languages and this character makes the translation engine go bananas.
Has anyone experienced this before or has any idea how this could be solved?
You cannot see it using the ordinary browser window, because it's a zero width space character. But if you right click and select View source, it's visible as a big space.
It's possible to copy the text from the view source window to a text editor preserving this character, so I pasted it as a string in a c# program. When I loop through every character in the string to check its ascii value, this particular character shows as 8203.
I used CAML Builder to check what my string looked like in the database. I couln't see anything strange, but when I copied the string from the CAML Builder result tab and pasted it into a hex editor, you could clearly see that the strange character was there.
The problem is that we translate our pages to different languages and this character makes the translation engine go bananas.
Has anyone experienced this before or has any idea how this could be solved?