I've discovered its not the XML functions. If I cffile read the xml file or cfhttp get the xml file, a cfdump var="#cfhttp.filecontent#" shows the corrupted version.
If I post the xml into a form input and post that and then dump the form variable, it is formatted correctly. so, to sum up: xml passed in as: variable through savecontent: good form variable: good cfhttp: bad cffile: bad > -----Original Message----- > From: Spike [mailto:spike@;spike.org.uk] > Sent: 14 November 2002 14:54 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] special chars and xml in CFMX > > > Where exactly are you seeing that? > > I'm not getting any problems with the following code. > > <cfsavecontent variable="str"> > <directory> > <company> > <name>Plastics Inc</name> > <category>Crushers</category> > <action>0</action> > <address><![CDATA[Suite 15, Drewitt Building > Castle Lane > London > N1 6GH]]></address> > </company> > <company> > <name>3f</name> > <category>Moulders</category> > <action>1</action> > <address><![CDATA[Sch�tzenstr. 195, > D - 24261 Hamburg]]></address> > </company> > </directory> > </cfsavecontent> > <cfxml variable="foo"> > <cfoutput>#str#</cfoutput> > </cfxml> > > <cfset bar = xmlParse(str)> > <cfdump var="#foo#"> > <cfdump var="#bar#"> > > Spike > > Stephen Milligan > Team Macromedia - ColdFusion > Co-author 'Reality Macromedia ColdFusion MX: Intranets and Content > Management' > http://spikefu.blogspot.com > > > -----Original Message----- > > From: Rich Wild [mailto:r.wild@;e-mango.com] > > Sent: 14 November 2002 15:24 > > To: '[EMAIL PROTECTED]' > > Subject: [ cf-dev ] special chars and xml in CFMX > > > > > > I think I'm having a 'Little Friday' (Thursday) brain death. > > > > I have an xml packet with some addresses held in CDATA sections. > > > > one of these addresses contains the following text: > > "Sch�tzenstr" which when parsed with XMLParse() is coming out > > as 'Schützenstr'. > > > > How can I avoid this please? > > > > ------------------------------------------------------- > > Rich Wild > > Senior Web Developer > > > > ------------------------------------------------------- > > e-mango Tel: 01202 755 300 > > Gild House Fax: 01202 755 301 > > 74 Norwich Avenue West > > Bournemouth Mailto:r.wild@;e-mango.com > > BH2 6AW, UK http://www.e-mango.com > > ------------------------------------------------------- > > This message may contain information which is legally > > privileged and/or confidential. If you are not the intended > > recipient, you are hereby notified that any unauthorised > > disclosure, copying, distribution or use of this information > > is strictly prohibited. Such notification notwithstanding, > > any comments, opinions, information or conclusions expressed > > in this message are those of the originator, not of > > e-mango.com ltd, unless otherwise explicitly and > > independently indicated by an authorised representative of > > e-mango.com ltd. > > ------------------------------------------------------- > > > > > > -- > > ** Archive: > http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] For human help, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
