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