I just checked and all of the CSS files in play have utf-8 declared at the top but, some of my "spaces" are rendering as when displayed.
Anyone have any suggestions on a fix?
NBSP; instead of spaces
Re: NBSP; instead of spaces
I just checked and it seems to do it even on an unmodified version of NWE on my test server.
It looks like more than one "space" is causing an nbsp to be rendered. Below are the results of entering test and then 1, 2 and 3 spaces after.
test onespace
test twospaces
test threespaces
Has anyone dealt with this issue yet?
It looks like more than one "space" is causing an nbsp to be rendered. Below are the results of entering test and then 1, 2 and 3 spaces after.
test onespace
test twospaces
test threespaces
Has anyone dealt with this issue yet?
Re: NBSP; instead of spaces
a space followed by a carriage return is also causing a nbsp to be displayed.
- hallsofvallhalla
- Site Admin
- Posts: 12031
- Joined: Wed Apr 22, 2009 11:29 pm
Re: NBSP; instead of spaces
Thats a strange one and I wish I had an answer but I have never had that issue. Does all HTML entities do that or just the space? What happpens if you use &xa0; ?
Re: NBSP; instead of spaces
Could it be something different about the collation of my database? Right now the Content field in the DB is set to utf_bin.
Re: NBSP; instead of spaces
Do you have a link with the example? Very interested.
Greg
Greg
Running a game is like riding a bike ... well it should be!
New Worlds Engine / FunMayhem.com
Helping you get your game concept up and running. Now.
New Worlds Engine / FunMayhem.com
Helping you get your game concept up and running. Now.
Re: NBSP; instead of spaces
If you log onto my site and browse the forum (not alot there) you'll see it.
http://www.villainsvsheroes.net
http://www.villainsvsheroes.net
Re: NBSP; instead of spaces
Am on but already fighting people. Ooomf, Powwww!
Running a game is like riding a bike ... well it should be!
New Worlds Engine / FunMayhem.com
Helping you get your game concept up and running. Now.
New Worlds Engine / FunMayhem.com
Helping you get your game concept up and running. Now.
Re: NBSP; instead of spaces
http://stackoverflow.com/questions/9393 ... -no-reason
http://stackoverflow.com/questions/1609 ... d-properly
Just stuff I saw.
Greg
http://stackoverflow.com/questions/1609 ... d-properly
Just stuff I saw.
Greg
Running a game is like riding a bike ... well it should be!
New Worlds Engine / FunMayhem.com
Helping you get your game concept up and running. Now.
New Worlds Engine / FunMayhem.com
Helping you get your game concept up and running. Now.
- hallsofvallhalla
- Site Admin
- Posts: 12031
- Joined: Wed Apr 22, 2009 11:29 pm
Re: NBSP; instead of spaces
Ah so this going into the databse then being extracted back out before being put on the page. Have you tried HTML encoding and unencoding?