Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

unicode file upload

$
0
0

I have tried everything to get ColdFusion to accept a unicode filename in an uploaded file, such as 饺ぞぎゅびゃツァ 鄩.txt or unicode_♫.txt. The cffile tag rejects the file (cffile.filewassaved property always false). I have tried all of the following:

 

meta tag <meta http-equiv="Content-Type" content="text/html;charset=utf-8">

cfprocessingdirective tag <cfprocessingdirective pageencoding="utf-8">

cfcontent tag   <cfcontent type="text/html; charset=utf-8">

setencoding

<cfset SetEncoding("url","utf-8")>

  <cfset SetEncoding("form","utf-8")>

cffile charset attribute set to charset="UTF-8"

 

Nothing seems to work. Does ColdFusion not accept unicode filenames?


Viewing all articles
Browse latest Browse all 5794

Trending Articles



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