Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Re: binary data in a form field gets changed

$
0
0

Thanks for that, but unfortunately, it didn't make it work.

With the <cfset setEncoding("form", "UTF-8")>, the result was exactly the same as before.

 

Btw the encoding on the old and on the new installation is set to ISO-8859-1.

This is set in the CF Administrator:

Java File Encoding:    ISO8859_1

Java Default Locale:   en_US

JVM arguments:        -Dfile.encoding=ISO-8859-1

 

If in the .cfm I put the following:

<cffile action= "write" file="/tmp/somefile.txt" output= "#getEncoding("form")#">

the contents of somefile.txt is "ISO-8859-1" (i.e. of course without the <cfset setEncoding("form", "UTF-8")>).

 

Any other suggestions?

Thanks

Pedro


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>