Safari 5.1 Invalid UTF-8 sequence and Malformed UTF-8 characters
I am experiencing this problem on Safari 5,1. On other browser my code works just fine. This is my payload:
{"from":130,"len":23,"msg":"[1, \"event\", \"newroom\"]"}

I am using web_socket.js to send data to server.

[2013-08-07 16:25:38] Sock-In.INFO: onOpen {"#open":2,"id":130,"ip":"83.143.220.66"} []
[2013-08-07 16:25:38] Sock-In.INFO: onMsg {"from":130,"len":23,"msg":"[1, \"event\", \"newroom\"]"} []
PHP Warning:  json_encode(): Invalid UTF-8 sequence in argument in /home/socketserver/vendor/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php on line 132
[2013-08-07 16:25:38] Sock-In.INFO: onMsg {"from":130,"len":91,"msg":null} []
[2013-08-07 16:25:38] Sock-In.ERROR: onError: (5): Malformed UTF-8 characters, possibly incorrectly encoded {"id":130,"file":"/home/socketserver/vendor/cboden/ratchet/src/Ratchet/Wamp/ServerProtocol.php","line":89} []
