What is the encoding for the cf page? The header might effect how the output is interpreted at the client, but the cf setting determines how it is outputed.

Blair

On 5/22/06, Mark Ireland <[EMAIL PROTECTED]> wrote:


Anyone know why this code returns a microsoft word doc from a blob but with
the wrong encoding?


<cfcontent TYPE="application/msword; charset=UTF-8">
<cfheader name="content-disposition"
value="attachment;filename=supportingdoc.doc">
<CFSCRIPT>
    writeOutput(toString(thisBlob.BLOB_CONTENT));
</cfscript>

_________________________________________________________________
Research and compare new cars side by side at carpoint.com.au
http://secure-au.imrworldwide.com/cgi-bin/a/ci_450304/et_2/cg_801459/pi_1004813/ai_833884

X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.54.73.16 with SMTP id v16mr183331wra;
        Sun, 21 May 2006 22:15:43 -0700 (PDT)
Return-Path: < [EMAIL PROTECTED]>
Received: from hotmail.com (bay105-f31.bay105.hotmail.com [65.54.224.41 ])
        by mx.googlegroups.com with ESMTP id v11si857516cwb.2006.05.21.22.15.43;
        Sun, 21 May 2006 22:15:43 -0700 (PDT)
Received-SPF: pass ( googlegroups.com: domain of [EMAIL PROTECTED] designates 65.54.224.41 as permitted sender)
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
         Sun, 21 May 2006 22:15:43 -0700
Message-ID: <[EMAIL PROTECTED]>
Received: from 65.54.224.200 by by105fd.bay105.hotmail.msn.com with HTTP;
        Mon, 22 May 2006 05:15:39 GMT
X-Originating-IP: [ 134.148.20.33]
X-Originating-Email: [[EMAIL PROTECTED]]
X-Sender: [EMAIL PROTECTED]
In-Reply-To: < [EMAIL PROTECTED]>
From: "Mark Ireland" <[EMAIL PROTECTED]>
To: [email protected]
Bcc:
Subject: encoding and word docs
Date: Mon, 22 May 2006 15:15:39 +1000
Mime-Version: 1.0
Content-Type: text/plain
X-OriginalArrivalTime: 22 May 2006 05:15:43.0265 (UTC) FILETIME=[C638D910:01C67D5E]


Anyone know why this code returns a microsoft word doc from a blob but with
the wrong encoding?


<cfcontent TYPE="application/msword; charset=UTF-8">
<cfheader name="content-disposition"
value="attachment;filename=supportingdoc.doc">
<CFSCRIPT>
    writeOutput(toString(thisBlob.BLOB_CONTENT));
</cfscript>

_________________________________________________________________
Research and compare new cars side by side at carpoint.com.au
http://secure-au.imrworldwide.com/cgi-bin/a/ci_450304/et_2/cg_801459/pi_1004813/ai_833884



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to