Strange Character in blank line

7 posts by 4 authors in: Forums > CMS Builder
Last Post: October 22, 2008   (RSS)

Re: [pcolvin] Strange Character in blank line

By _kate_ - October 21, 2008

Hi pcolvin,
I'm not sure what is causing that strange character, however when using the WYSIWYG editor the enter key will add a paragraph tag, however if you want to insert a line break instead <br> hold shift and hit enter.

I hope that helps! If you have any other questions feel free to ask :)

Re: [pcolvin] Strange Character in blank line

By Dave - October 21, 2008

Can you post a link to the url with the problem? It may be a charset issue.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Strange Character in blank line

Hi, Dave -

I've also experienced this problem. It's caused by the <p> </p> tag combination. TinyMCE always uses this combo to replace double <BR /> tags.

It doesn't matter if you try to edit the code (in the WYSIWYG HTML editor) it'll revert back to <p> </p> as soon as you save it.

In Firefox the result is the "Â" character mentioned above. In IE the character is rendered as a "B".

Here's an example that cropped-up on a site I'm building for a client (which is not yet open).

http://www.greatnorthroads.co.uk/news/news.php?2

I'd call it a bug.

:0\

Perch

Re: [Perchpole] Strange Character in blank line

By Dave - October 22, 2008

Hi Perch,

Strange characters are usually a character set problem. CMS Builder uses UTF-8 internally. If you view that page in Firefox, and then select from the menu: Tools > Page Info - Then look for "Encoding", it shows the charset as us-ascii.

Try editing the viewer page and replacing this tag:
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />

With this one:
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />

Hope that helps! Let me know if that fixes it for you.
Dave Edis - Senior Developer
interactivetools.com

Re: [pcolvin] Strange Character in blank line

By pcolvin - October 22, 2008

Dave and All,

Thanks for the replies and assistance. Changing the character set on the page took care of the problem. Also using Shift+Enter inserting the line break worked as well.

Phil

Re: [Dave] Strange Character in blank line

Hi, Dave -

Cripes! I hadn't thought of the Character set. I actually prefer "ISO-8859-1" - if only because it seems to make better use of symbols, like proper quotes and arrows.

Unfortunately, CMSB doesn't seem to like that either. I've just tried ISO and got the same result as ASCII.

I guess I'm stuck with UTF-8.

:0(

Perchpole