Hi Dale,
I remember reading somewhere that CFFile doesn't like UTF-8, try
UTF-16 and see if that fixes it

L.

On Mon, Oct 20, 2008 at 2:38 PM, Dale Fraser <[EMAIL PROTECTED]> wrote:
> Ok,
>
>
>
> I have my little decrypter semi functional, the resulting decrypted file is
> UTF-8 (important).
>
>
>
> <cfset fileName = expandPath('./' & createUuid()) />
>
> <cfexecute name="#expandPath('./decrypter.exe')#"
> arguments="#expandPath('./fraser.cogd')#" timeout="60"
> outputFile="#fileName#" />
>
> <cffile action="read" file="#fileName#" charset="utf-8"
> variable="fileContents" />
>
>
>
> Now, the above works and works well.
>
>
>
> But if I try to go directly to memory, without the outputfile / read. The
> resulting variable is not valid UTF-8.
>
>
>
> So my question now is, can I tell a variable to become UTF-8 somehow.
>
>
>
> Regards
>
> Dale Fraser
>
> http://learncf.com
>
> http://flexcf.com
>
>
>
>
>
> >
>



-- 
Lucas

http://www.thebitbucket.net/

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to