Looking for any PHP pros who know of a way to delete hidden control characters from a text file? I am using an excel reader class which outputs a hidden control charcter, the inverted question mark, in between each character. I have posted on thier forum about this problem, but have recieved no response.
I have tried a string replace using the ascii value
str_replace(chr(168),'',$str);
but that doesn't work.
I have also tried trim() using the hex value of the char, but no luck there. Any ideas would be appreciated.
Thanks
PD