Its UTF-8 but writeOutput(toString(thisBlob.BLOB_CONTENT,"UTF-8"));
does not help word recognise and open the doc without encoding issues. >From: "Blair McKenzie" <[EMAIL PROTECTED]> >Reply-To: cfaussie@googlegroups.com >To: cfaussie@googlegroups.com >Subject: [cfaussie] Re: encoding and word docs >Date: Mon, 22 May 2006 15:44:38 +1000 > >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] > > 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: cfaussie@googlegroups.com > > 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 > > > > > > > > > > > > _________________________________________________________________ New year, new job there's more than 100,00 jobs at SEEK http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau&_t=752315885&_r=Jan05_tagline&_m=EXT --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~----------~----~----~----~------~----~------~--~---