Home
TeamSite
Stange  characters appearing on HTML page in Teamsite
9greej10
Hi There
We are experiencing an issue whereby a strange  is appearing on HTML pages generated through Teamsite. We used to have thsi issue sometime ago and teh solution was to remove any double spaces and applied actual html chars ratehr than simply copy & pasting form Word. However the problem has got worse and now appears on most pages generated even if teh text is copied into Notepad in order to remove all style/spaces etc. Does anyone have a complete solution for this?
thanks
Find more posts tagged with
Comments
Frederik
UTF-8 has a 'non breaking space' character that, when the text (html page in this case) is displayed as Western ISO-8859-1 (a.k.a. Latin1), will show up as a  character.
There's probably a number of ways you can fix this... Can you set the encoding of your HTML pages to UTF-8? I believe that's the simplest.
9greej10
Thanks for the pointer.
I had a look at our templates and they do generate the html pages with the following lines of code
sorry can't seem to paste my 2 lines of code in here!! anyway they are definitely in the generated html page.
You mentioned there are other ways - could you please point me in the right direction with regard to other possible solutions.
many thanks
Frederik
you can probably clean the non-breaking space up with a regex replace in your TPL.
or you could try alternative values for your charencode setting in the Visual Format config (I don't like to set anything other than utf8 here, but that's
my
preference)
Some of these tricks also discussed here:
http://devnet.interwoven.com/forums_vb/showthread.php?t=28158&forumid=11&highlight=breaking+space