[thelist] CF: Entity Annoyances! Baffled!

Jeff Howden jeff at jeffhowden.com
Mon Oct 31 14:26:04 CST 2005


Frank,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Frank
> 
> My entities are showing up as question marks in FireFox,
> as "null" symbols in IE and  in Opera. My first thought
> is that it's a character encoding issue, or a font
> issue. Doesn't seem to be that way but I could be wrong.
> 
> My encoding at the top of the page looks like this:
> 
> <meta http-equiv="content-type" 
> content="text/html;charset=iso-8859-1">
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

Standard encoding from the server is UTF-8 though.  Are you forcing the
charset on the server as well?

I generally have this at the top of my application.cfm:

<cfscript>
  SetEncoding('form', 'iso-8859-1');
  SetEncoding('url', 'iso-8859-1');
</cfscript>
<cfprocessingdirective pageencoding="iso-8859-1">
<cfcontent type="text/html; charset=iso-8859-1">

 [>] Jeff Howden
     jeff at jeffhowden.com
     http://jeffhowden.com/




More information about the thelist mailing list