So on the CMS side this:

<cfset setEncoding("form", "iso-8859-1")> 
<cfset setEncoding("Url", "iso-8859-1")> 
<cfcontent type="text/html; charset=iso-8859-1"> 


should be


<cfset setEncoding("form", "Unicode")> 
<cfset setEncoding("Url", "Unicode")> 
<cfcontent type="text/html; charset=Unicode"> 


and on the Presentation side, this:


<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=GB2312">

should be


<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">


?????

Dwayne.




>Just use Unicode.
>
>
>> I'm using this at the top of the page.
>> 
>> <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=GB2312">
>> 
>> OK that seems to work sometimes and other times, well.
>
>The prefered way is to set the charset in an actual HTTP header, 
>i.e. using cfcontent. That takes preference over setting the 
>charset in HTML. Of course it is a good idea to do it both.
>
>Please provide details about the cases where it doesn't work.
>
>
>> I've gone to sites that present both english and chinese without setting the 
>> charset.  
>
>I bet they set the charset in HTTP, not HTML.
>
>Jochem
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201719
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to