I'm receiving some information using sockets But it gets some garbage depending the client and the OS.
Example : Receiving "Hello" string
ÿþ^Xÿþ^_ÿþ ÿþ!ÿþ"ÿþ'ÿü^Eÿþ#Hello
That gets stored in a $msg variable. How can i clean it up from those strange characters?. (The characters varies from msg to msg).
Thanks in advance