[FX.php List] Bad apostrophe character confounds FMP
Kevin Futter
kfutter at sbc.melb.catholic.edu.au
Mon Dec 10 14:44:47 MST 2007
On 11/12/07 8:31 AM, "Troy Meyers" <tcmeyers at troymeyers.com> wrote:
> Jonathan,
>
> A couple of things...
>
> (1) Is the PHP file saved as UTF-8, no BOM as I described for BBEdit?
>
>
> (2) You've got HTML content...
>
> <br><BR>ON PAGE LOAD:<br>Query error: 0<br>Query count: 1<br>
>
> ...BEFORE even the DOCTYPE is declared. That should come after, in the <BODY>
> portion. I guess it's possible that's confusing the browser since it has to
> deal with characters before the encoding and DOCTYPE is declared.
>
> Just guess, try to rearrange it?
>
> -Troy
The DOCTYPE declaration should definitely be the first thing on the page;
even preceding whitespace can confuse certain browsers under certain
conditions. Anything preceding the DOCTYPE declaration invalidates the page
(from a web standards point-of-view), but this doesn't directly affect the
unicode issue. Most browsers will switch to quirks mode under those
conditions, and then all bets are off as to how they handle things.
It may not solve your current problem Jonathon, but it's definitely
something you need to address to build a standards-compliant page.
--
Kevin Futter
Webmaster, St. Bernard's College
http://www.sbc.melb.catholic.edu.au/
#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared
by MailMarshal
#####################################################################################
This e-mail and any attachments may be confidential. You must not disclose or use the information in this e-mail if you are not the intended recipient. If you have received this e-mail in error, please notify us immediately and delete the e-mail and all copies. The College does not guarantee that this e-mail is virus or error free. The attached files are provided and may only be used on the basis that the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of the attached files, whether caused by the negligence of the sender or not. The content and opinions in this e-mail are not necessarily those of the College.
More information about the FX.php_List
mailing list