{"action":"created","issue":{"url":"https://api.github.com/repos/don/BluetoothSerial/issues/171","labels_url":"https://api.github.com/repos/don/BluetoothSerial/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/don/BluetoothSerial/issues/171/comments","events_url":"https://api.github.com/repos/don/BluetoothSerial/issues/171/events","html_url":"https://github.com/don/BluetoothSerial/issues/171","id":114843894,"number":171,"title":"hello,i got a encoding problem,can you give me a help","user":{"login":"xskk","id":3369279,"avatar_url":"https://avatars.githubusercontent.com/u/3369279?v=3","gravatar_id":"","url":"https://api.github.com/users/xskk","html_url":"https://github.com/xskk","followers_url":"https://api.github.com/users/xskk/followers","following_url":"https://api.github.com/users/xskk/following{/other_user}","gists_url":"https://api.github.com/users/xskk/gists{/gist_id}","starred_url":"https://api.github.com/users/xskk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xskk/subscriptions","organizations_url":"https://api.github.com/users/xskk/orgs","repos_url":"https://api.github.com/users/xskk/repos","events_url":"https://api.github.com/users/xskk/events{/privacy}","received_events_url":"https://api.github.com/users/xskk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-03T15:40:20Z","updated_at":"2015-11-03T16:38:29Z","closed_at":null,"body":"this is a nice plugin, i run the example chat and connect bluetooth correctly. however the data i receive are  encoding problem. like this:\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/don/BluetoothSerial/issues/comments/153409754","html_url":"https://github.com/don/BluetoothSerial/issues/171#issuecomment-153409754","issue_url":"https://api.github.com/repos/don/BluetoothSerial/issues/171","id":153409754,"user":{"login":"don","id":3133,"avatar_url":"https://avatars.githubusercontent.com/u/3133?v=3","gravatar_id":"","url":"https://api.github.com/users/don","html_url":"https://github.com/don","followers_url":"https://api.github.com/users/don/followers","following_url":"https://api.github.com/users/don/following{/other_user}","gists_url":"https://api.github.com/users/don/gists{/gist_id}","starred_url":"https://api.github.com/users/don/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/don/subscriptions","organizations_url":"https://api.github.com/users/don/orgs","repos_url":"https://api.github.com/users/don/repos","events_url":"https://api.github.com/users/don/events{/privacy}","received_events_url":"https://api.github.com/users/don/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T16:38:29Z","updated_at":"2015-11-03T16:38:29Z","body":"Can you send simple data to the plugin? Try https://github.com/don/BluetoothSerial/tree/master/examples/Counter\r\n\r\nIf you use [subscribe](https://github.com/don/BluetoothSerial#subscribe) I think the data is stuffed into a StringBuffer as it's received. This may be where the encoding problem is occurring.\r\n\r\nTry using [subscribeRawData](https://github.com/don/BluetoothSerial#subscriberawdata) and decoding the bytes yourself in JavaScript.\r\n"}}