[Freeswitch-dev] any pre-existing routine to escape a string for any control characters/etc?

Nathan Neulinger nneul at mst.edu
Tue Oct 1 22:12:15 MSD 2013


The switch_escape_string seems to have a hardwired list and doesn't cover other non-printables like ^G or similar. Is 
there anything already existing that would cover "all non-printables"?

If not, I'll put one together.  (Looking for something to use in logging functions to avoid sending garbage to display.)

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       nneul at mst.edu
Missouri S&T Information Technology    (573) 612-1412
System Administrator - Architect



Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-dev mailing list