On Thu, Aug 19, 2010 at 5:22 AM, Mack <[email protected]> wrote:
>
> On Thu, Aug 19, 2010 at 6:37 AM, Rick Root <[email protected]> wrote:
>> The jquery calls are going directly to a cfc method with
>> returntype="JSON" .. when viewed in firebug, I see the space, but in
>> the HTML output I see the funky block questionmark.
>
> Rick,
>
> It might help if you set the charset explicitly in your cfc method:
> <cfheader name="Content-Type" value="application/javascript; charset=UTF-8">

A fine idea... I already had a cfcontent in there so I added the charset

        <cfcontent reset="Yes" type="text/plain; charset=utf-8">

(also tried application/json, which is apparently the proper mime type
for json return values)

didn't make a difference.

Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336394
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to