I'm trying to save a text file that has foreign characters. 
Here's my code:

<cfset xOutput = "République">

<cfheader
charset="utf-8"
name="content-disposition"
value="attachment; filename=test.txt">
#xOutput#

When I open this file up it looks like this:
République

How can I retain the proper foreign characters? Thanks in advance. 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342489
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to