I am using FCKEDITOR on my website and whenever anyone enters a space twice in a row, the first one shows up as a question mark. I took a look through the database and can see that it's being saved as   but shows as a ? on the website. My database is set up to UTF-8 General ci.
Is it possible to make it so that I can accept more than one space in a row? Or is there a known fix for this?
Thanks
Is it possible to make it so that I can accept more than one space in a row? Or is there a known fix for this?
Thanks
Re: Two Spaces Together Causes Question Mark
  indicates that your HTML encoding is not done in the right place, unless you HTML-decode when reading from the database. HTML encoding should happen right before you output HTML, if it is done at all (e.g. makes no sense to HTML-encode editor's output in a CMS).
Re: Two Spaces Together Causes Question Mark
I am not quite sure how or where this would go. I host with Godaddy and they have a page called gdform.php, that is placed on my server. Could this be where I make a change? Do you have any links to tutorials that could show me how to do this?
Sorry I am new. I usually just buy scripts and all this is done already.
Re: Two Spaces Together Causes Question Mark
Re: Two Spaces Together Causes Question Mark
I've been doing some reading and, apparently, PHP is pretty dumb when it comes to character encoding and sets. The alternative to configuring your scripting environment is to make sure all interfaces, MySQL in particular, talk the same language (character set in this case). Try following the instructions from this page - it configures MySQL connections to use UTF-8:
http://www.phpwact.org/php/i18n/utf-8/mysql