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://learncf.com/> 

http://flexcf.com <http://flexcf.com/> 

 

 


--~--~---------~--~----~------------~-------~--~----~
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