Thanks that worked... I found another easy way too after reading here
how to change the default:
http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=00001207.htm
Just go into the administrator and check out settings summary. There
is a JVM section that tells the default file encoding.
On 12/29/05, Paul Hastings <[EMAIL PROTECTED]> wrote:
> 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#">
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227938
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