{"action":"created","issue":{"url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/477","repository_url":"https://api.github.com/repos/LevPasha/Instagram-API-python","labels_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/477/labels{/name}","comments_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/477/comments","events_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/477/events","html_url":"https://github.com/LevPasha/Instagram-API-python/issues/477","id":358390151,"node_id":"MDU6SXNzdWUzNTgzOTAxNTE=","number":477,"title":"Sending non-latin characters through direct messages","user":{"login":"eighteenthVariable","id":24987179,"node_id":"MDQ6VXNlcjI0OTg3MTc5","avatar_url":"https://avatars3.githubusercontent.com/u/24987179?v=4","gravatar_id":"","url":"https://api.github.com/users/eighteenthVariable","html_url":"https://github.com/eighteenthVariable","followers_url":"https://api.github.com/users/eighteenthVariable/followers","following_url":"https://api.github.com/users/eighteenthVariable/following{/other_user}","gists_url":"https://api.github.com/users/eighteenthVariable/gists{/gist_id}","starred_url":"https://api.github.com/users/eighteenthVariable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eighteenthVariable/subscriptions","organizations_url":"https://api.github.com/users/eighteenthVariable/orgs","repos_url":"https://api.github.com/users/eighteenthVariable/repos","events_url":"https://api.github.com/users/eighteenthVariable/events{/privacy}","received_events_url":"https://api.github.com/users/eighteenthVariable/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-09T16:09:52Z","updated_at":"2018-10-24T20:15:25Z","closed_at":null,"author_association":"NONE","body":"Hey, so here's my code:\r\n\r\n```\r\napi = API(LOGIN, PASSWORD)\r\napi.login()\r\napi.direct_message(\"سلام\".encode('utf-8-sig'), api.username_id)    #'utf-8' gives the same result\r\n```\r\n\r\nAnd thankfully, this works on it's own, however, when I view the message, it's just a list of escape codes like ```b'\\xd8\\xb3\\xd9\\...```. Is there any workaround, or is there a limit on using non-latin characters?\r\n\r\nI'm _assuming_ there should be a similar issue when direct messaging emojis, right?\r\n\r\nMany thanks."},"comment":{"url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/comments/432811787","html_url":"https://github.com/LevPasha/Instagram-API-python/issues/477#issuecomment-432811787","issue_url":"https://api.github.com/repos/LevPasha/Instagram-API-python/issues/477","id":432811787,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjgxMTc4Nw==","user":{"login":"Eastkap","id":2210144,"node_id":"MDQ6VXNlcjIyMTAxNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2210144?v=4","gravatar_id":"","url":"https://api.github.com/users/Eastkap","html_url":"https://github.com/Eastkap","followers_url":"https://api.github.com/users/Eastkap/followers","following_url":"https://api.github.com/users/Eastkap/following{/other_user}","gists_url":"https://api.github.com/users/Eastkap/gists{/gist_id}","starred_url":"https://api.github.com/users/Eastkap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eastkap/subscriptions","organizations_url":"https://api.github.com/users/Eastkap/orgs","repos_url":"https://api.github.com/users/Eastkap/repos","events_url":"https://api.github.com/users/Eastkap/events{/privacy}","received_events_url":"https://api.github.com/users/Eastkap/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T20:15:25Z","updated_at":"2018-10-24T20:15:25Z","author_association":"NONE","body":"Same, trying to solve it here, will keep u posted"}}
{"actor":{"display_login":"Eastkap"}}