Strange Character in blank line

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

By pcolvin - October 21, 2008

When I add a blank line in the WYSIWYG editor with the Enter key, I get the following:

Â

Fire Department Mount Joy

111 New Haven St

Mount Joy, PA 17552

Â

Each place there is an  is where I tried to insert a blank line. The HTML that is inserted is <p> </p>. If I replace this with a <br> it works fine. This would be ok, but I'm sure I will have users that want to use the Enter key to insert a place line.

Here is the full HTML for the above:
<p> </p>
<p>Fire Department Mount Joy</p>
<p>111 New Haven St</p>
<p>Mount Joy, PA 17552</p>
<p> </p>

The characters show up in Firefox 3.x and IE 7.x

Any help would be appreciated.

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: [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

By Perchpole - October 22, 2008

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