I'm trying to write form data to a physical file, and I'm finding that
Japanese characters are turning into question marks.

Here is a simplified runnable version of my situation (chr(37329) is a
Japanese character):

<cfoutput>
        <p>Writing #chr(37329)# - chr(37329) - to a file . . .</p>
</cfoutput>

<cffile action="WRITE" file="#expandpath("file.cfm")#" output="#chr(37329)#"
addnewline="Yes">

<p>cfincluding the file . . . <cfinclude template="file.cfm"></p>

I've tried various (although not necessarily correct) combinations of
cfprocessingdirective, cfcontent, and setencoding() to no avail. Any ideas
or pointers?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to