I am working on a PHP application that has to parse strings being sent by another program. the problem is that some strings have octal characters and some other escapes in the middle.
So instead of script>XYZ, I am getting:
\103RI\120T>XYZ%6En \151\156 d%6Fcu\155%65n..
And I need to print back this string decoded... I tried using octdec, url_decode, etc, but one only works with one char and the other doesn't decode octal... Anyone have suggestions?