<html><head/><body><html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252" /></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">No, the  lne endings are not DOS.... they seem to be DOS on Linux because of the ˆM characters, but they are MacOS line-endings.<br>
<br>
Really, whoever thought of this should be shot....<br>
<br>
Linux/Unix uses \n (or ASCII 10, or ˆJ, or newline)<br>
MacOS  uses \r (or ASCII 13, or ˆM, or return)<br>
and DOS uses \n\r (or ASCII 10, followed by ASCII 13, return)<br>
<br>
ˆA is ASCII 1, not a space in Windows....<br>
<br>
Tom<br>
<br><br><div class="gmail_quote">David Goodwin <david@palepurple.co.uk> schreef:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br /><div><div>On 6 Nov 2012, at 11:43, Pat Lockley <<a href="mailto:patrick.lockley@googlemail.com">patrick.lockley@googlemail.com</a>> wrote:</div><br class="Apple-interchange-newline" /><blockquote type="cite">is ^A not whitespace on windows?<br /><div class="gmail_extra"><br /></div></blockquote><div><br /></div>I've no idea. I'm not a Windows person.</div><div><br /></div><div>I know the data.xml is encoded/saved with DOS style line endings.</div><div><br /></div><div><br /></div><div>Should XOT try and validate whatever XML is passed into it when the editor calls save on it and reject (?) it if invalid? Alternatively I suppose I could run iconv (or similar) over the xml file and try to remove any invalid characters?</div><div><br /></div><div>What PHP file is called when the flash editor asks to save?</div><div><br /></div><div><br /></div><div>David.</div><div><br /></div><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: 
 space;
-webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: 
 none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Pale Purple Ltd.  (Company No: 5580814)</div><div>'Web and Mobile Application Development for Business'</div><div><br /></div><div><a href="http://www.palepurple.co.uk">http://www.palepurple.co.uk</a>
  </div><div>Office: 0845 0046746     Mobile: 07792380669 </div><div><br /></div><div>Follow us on Twitter: @PalePurpleLtd</div></div></span></div></span></div></span></div></span></div>
</div>
<br /><br />
<p>
This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, 
copy or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.
</p>
<p>
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
</p>
<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif; margin-top: 0px"><hr /><br />Xerte-dev mailing list<br />Xerte-dev@lists.nottingham.ac.uk<br /><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br /><br />This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.<br /><br />This message has been checked for viruses but the contents of an attachment<br />may still contain software viruses which could damage y
 our
computer system:<br />you are advised to perform your own checks. Email communications with the<br />University of Nottingham may be monitored as permitted by UK legislation.<br /><br /></pre></blockquote></div><br>
-- <br>
Verzonden van mijn Android telefoon met K-9 Mail.</body></html></body></html>