Hi Andrew,<br><br>Most MySQL libraries have functions called variations of "mysql_escape" that will automatically escape characters like quotes. Before any data is sent from APRS-IS through our OpenAPRS parser and into mySQL all of the "control code" characters are removed using REGEX replacements.<br>
<br>Greg<br><br>NV6G<br>OpenAPRS.Net<br><br><div class="gmail_quote">On Sat, Sep 12, 2009 at 9:01 AM, Andrew Rich (Home) <span dir="ltr"><<a href="mailto:vk4tec@tech-software.net">vk4tec@tech-software.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">As we know the APRS stream contains characters that
MySQL or QUERY forming applications may not like.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Just wondering how the big guns handle these
?</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Do you do a search and replace with an escape and
re-parse on request ?</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">The characters I can think of are quotes
</font></div>
<div><font face="Arial" size="2"></font> </div>
<div> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">----------------------------------------------------------<br>Andrew
Rich <br>Airways Technical Officer Grade 4<br>Surveillance - RADAR
ADS-B<br>Amateur Radio Callsign VK4TEC<br>email: <a href="mailto:vk4tec@tech-software.net" target="_blank">vk4tec@tech-software.net</a><br>web: <a href="http://www.tech-software.net" target="_blank">www.tech-software.net</a></font></div>
</div>
<br>_______________________________________________<br>
aprssig mailing list<br>
<a href="mailto:aprssig@tapr.org">aprssig@tapr.org</a><br>
<a href="https://www.tapr.org/cgi-bin/mailman/listinfo/aprssig" target="_blank">https://www.tapr.org/cgi-bin/mailman/listinfo/aprssig</a><br>
<br></blockquote></div><br>