Bud,
Try using this instead for French Char's. I have found this to work with CFMX:
<!--- set encoding to support french --->
<cfscript>
setEncoding("form", "utf-8");
setEncoding("url", "utf-8");
</cfscript>
<cfcontent type="text/html; charset=utf-8">
And this in the header:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Let me know and good luck! I remember you posting about this like a month ago!!
Brook
At 03:46 PM 2/5/2003 -0500, you wrote:
> >I added a field with the full XML response from UPS. In case anyone
> >is interested. :)
> >
> >On 2/5/03, Bud penned:
> > >OK. $250.00 reward to the first person who can tell me what I'm doing
> > >wrong or give me evidence/show me how to prove that UPS is returning
> > >the wrong character set. Knowing UPS, I suspect it's the latter.
> > >
> > >Here is the page:
> > >
> > >http://dev.cf-ezcart.com/registerups/
> > >
> > >Click Next.
> > >
> > >The text in the top textarea field is being returned by UPS which I'm
> > >stripping from the XML. It is all screwed up. Most notably the French
> > >text at the bottom, but also trademark symbols and such.
> > >
> > >The text in the bottom textarea field is the hard-coded text they
> > >sent to me which I pasted in and displays properly.
> > >
> > >I'm using this at the top of the template:
> > ><cfset setEncoding("form","iso-8859-1")>
> > ><cfset setEncoding("URL","iso-8859-1")>
> > ><cfcontent type="text/html; charset=iso-8859-1">
> > >
> > >This is in the HTML HEAD tag:
> > ><meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
> > >
> > >I tried using <CFPROCESSINGDIRECTIVE pageencoding="iso-8859-1"> in
> > >both the template and the custom tag I'm calling but it didn't make a
> > >difference.
> > >
> > >CFMX server. CrystalTech.
>
>Bud,
>
>Since you're using MX, have you used the "charset" attribute of the CFHTTP
>tag and set it to "ISO-8859-1"? You may need to watch that "ISO-8859-1" for
>case-sensitivity, as you're passing it in to Java, which is case-sensitive.
>If you don't set it, the default is "UTF-8", which is where you might be
>running into trouble.
>
>Regards,
>Dave.
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4