Well after a whole lot of screwing around we have the problem solved.
On top of the existing problem, It turned out that for like the last day and a half apache had been segfaulting on us whenever we attempted to make an odbc connection (and it was also causing a segfault with the gd library). In order to get that fixed we finally came about stripping out a lot of extensions in php.ini that were unnecessarily included.
So by solving the segmentation fault problem, it now looks like the pervasive linux client is performing properly with no garbage characters. This is also working through the 8.15 client.
My extended headache is now over
