Anthony Prato wrote:
> I'm assuming character set doesn't matter internally when you use
> CFXML, but when converting it to string in generates the xml start for
it matters coming & going.
> something to add the "encoding=" into the xml start sting?
> i.e. <?xml version="1.0" encoding="ISO-8859-1" ?>
i guess that depends on how you're creating the xml doc. you can easily
slip into the text stream if you're building it from a string or
converting it to a string prior to writing it out.
> The docs for cffile say charset is defaulted to: JVM default file character
> set
but you can & should control that as needed via the charset option.
> What is that? is there a way to programmaticly return that for a JVM?
<cfscript>
sys=createObject("java","java.lang.System");
fileEncoding=sys.getProperty("file.encoding");
writeoutput("file encoding: #fileEncoding#<br>");
</cfscript>
<cfdump var="#sys.Properties#">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227840
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54