UTF-8 page encoding is not coming out true


hello, i'm trying get  site speed utf-8 , it's giving me heck of a  time doing so. i've checked , double-checked , can  see appears file decoded utf-8.


  • inside text editor, cfeclipse, file encoding set utf-8.
  • in application.cfc, have
    <cfcomponent output="false">
        <!--- force encoding (don't trust default) --->

        <!--- note adobe forum-goers, not inside cffunction, inside cfcomponent tag. --->

        <cfprocessingdirective pageencoding="utf-8">

        <cfcontent type="text/html; charset=utf-8">

        <cfset setencoding("url", "utf-8")>

        <cfset setencoding("form", "utf-8")>

        ...

    </cfcomponent>
  • in each page uses valid html5, this:
    <!doctype html>

    <html>

    <head>

        <meta charset="utf-8">

even so, smart quotes end looking this: “ , � , other characters em dashes , accented characters share similar fate.

 

i checked page properties (right click→page info) , , says page in utf-8. i've pasted bit of code page, , outputs utf-8: <cfset theencoding = getencoding("url")><cfoutput>#theencoding#</cfoutput>

 

what more possibly need done output browser true utf-8?

uh, database & driver?

 

 

btw unless cfc outputting teh cfcontent, etc isn't needed.



More discussions in ColdFusion


adobe

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support