Just to emphasize something. When I type the character directly with the CHR function, then it gets printed as expected in the file. However, when I type the character directly in the string (without the CHR function) then it gets printed as something else. Joseph.
> Hey Paul, > > Thanks for your reply. > > When I add the tag below: > > <cfprocessingdirective pageencoding="utf-8"> > > and exactly after it I use the cffile tag, then the string is stored > correctly in the file, however when I do not include the > cfprocessingdirective tag then the second à character is stored in the > file as Ãâ > > Could this be related to the default Java encoding which is Cp1252, > and the default locale of en_US. The ColdFusion version used is 8,0,0, > 176276. > > Joseph. > > >Joseph Bugeja wrote: > >> <cffile action="write" file="testfile.txt" output="#chr(198)# and > ?" > >> charset="utf-8"> > > > >just to confirm, this works fine on our dev server (8.01). ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312879 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

