{"action":"closed","issue":{"url":"https://api.github.com/repos/ghedipunk/PHP-Websockets/issues/53","labels_url":"https://api.github.com/repos/ghedipunk/PHP-Websockets/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/ghedipunk/PHP-Websockets/issues/53/comments","events_url":"https://api.github.com/repos/ghedipunk/PHP-Websockets/issues/53/events","html_url":"https://github.com/ghedipunk/PHP-Websockets/issues/53","id":106971564,"number":53,"title":"MB_STRLEN and headers['length']","user":{"login":"lawrencedesign","id":9460368,"avatar_url":"https://avatars.githubusercontent.com/u/9460368?v=3","gravatar_id":"","url":"https://api.github.com/users/lawrencedesign","html_url":"https://github.com/lawrencedesign","followers_url":"https://api.github.com/users/lawrencedesign/followers","following_url":"https://api.github.com/users/lawrencedesign/following{/other_user}","gists_url":"https://api.github.com/users/lawrencedesign/gists{/gist_id}","starred_url":"https://api.github.com/users/lawrencedesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lawrencedesign/subscriptions","organizations_url":"https://api.github.com/users/lawrencedesign/orgs","repos_url":"https://api.github.com/users/lawrencedesign/repos","events_url":"https://api.github.com/users/lawrencedesign/events{/privacy}","received_events_url":"https://api.github.com/users/lawrencedesign/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-17T12:20:11Z","updated_at":"2016-01-05T21:42:56Z","closed_at":"2016-01-05T21:42:56Z","body":"Today I download this code. I try with the client.html and the testserver but when I send messages with special charachter, like \"é, ő, ű\" and so on, the \r\n**$headers['length']**\r\nand the \r\n**mb_strlen($this->applyMask($headers,$payload))**\r\ndiffers. \r\nThe $headers['length'] shows the correct length, but the MB_STRLEN shows greater! and than its return false so the message doesn't recieved by the server :("}}