in reply to unknown character in between text
The thread is heading in the wrong direction. It's fixing a symptom rather than the problem. The problem is surely a lack of encoding and/or decoding inputs and outputs as choroba pointed out. If we had more to go on, we could help you.