{"action":"closed","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/12869","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/12869/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/12869/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/12869/events","html_url":"https://github.com/home-assistant/home-assistant/issues/12869","id":301997323,"node_id":"MDU6SXNzdWUzMDE5OTczMjM=","number":12869,"title":"IMAP Email Content character encoding","user":{"login":"sgttrs","id":33804747,"node_id":"MDQ6VXNlcjMzODA0NzQ3","avatar_url":"https://avatars3.githubusercontent.com/u/33804747?v=4","gravatar_id":"","url":"https://api.github.com/users/sgttrs","html_url":"https://github.com/sgttrs","followers_url":"https://api.github.com/users/sgttrs/followers","following_url":"https://api.github.com/users/sgttrs/following{/other_user}","gists_url":"https://api.github.com/users/sgttrs/gists{/gist_id}","starred_url":"https://api.github.com/users/sgttrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgttrs/subscriptions","organizations_url":"https://api.github.com/users/sgttrs/orgs","repos_url":"https://api.github.com/users/sgttrs/repos","events_url":"https://api.github.com/users/sgttrs/events{/privacy}","received_events_url":"https://api.github.com/users/sgttrs/received_events","type":"User","site_admin":false},"labels":[{"id":562804248,"node_id":"MDU6TGFiZWw1NjI4MDQyNDg=","url":"https://api.github.com/repos/home-assistant/home-assistant/labels/waiting-for-reply","name":"waiting-for-reply","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-03T13:14:07Z","updated_at":"2018-07-26T12:16:31Z","closed_at":"2018-07-26T12:16:31Z","author_association":"CONTRIBUTOR","body":"**Home Assistant release (`hass --version`):**\r\n0.64.3\r\n\r\n**Python release (`python3 --version`):**\r\nHASSIO 1.2.1\r\n\r\n**Component/platform:**\r\nIMAP Email Content\r\n\r\n**Description of problem:**\r\nHA shows the wrong characters. Messages on English looks ok. Messages in Russian are not displayed correctly.\r\n\r\n**Expected:**\r\nCorrect display all of characters\r\n\r\n**Problem-relevant `configuration.yaml` entries and steps to reproduce:**\r\n```yaml\r\nsensor:\r\n  - platform: imap_email_content\r\n    name: Gmail\r\n    server: imap.gmail.com\r\n    port: 993\r\n    username: !secret gmail_address\r\n    password: !secret gmail_password\r\n    senders:\r\n      - email@gmail.com\r\n```\r\n\r\n**Additional info:**\r\nHere an messages on Russian:\r\n```\r\nfrom: email@gmail.com\r\nsubject: ���������������������� ReadyNAS (ReadyNAS ��������������: ����������������������)\r\ndate: Sat, 03 Mar 2018 13:31:30 +0600\r\nbody: Выполняется выключение системы.\r\n```\r\n```\r\nfrom: email@gmail.com\r\nsubject: Тест\r\ndate: Sat, 3 Mar 2018 19:04:54 +0600\r\nbody: 0KLQtdGB0YIg0YHQvtC+0LHRidC10L3QuNGPINC00LvRjyBIb21lIEFzc2lzdGFudC4g0J3QtSDQ\r\nvtGC0LLQtdGH0LDQudGC0LUg0L3QsCDRjdGC0L4g0YHQvtC+0LHRidC10L3QuNC1IQ0K\r\nfriendly_name: Gmail\r\n```\r\nMessage on English:\r\n```\r\nfrom: email@gmail.com\r\nsubject: Test\r\ndate: Sat, 3 Mar 2018 19:11:16 +0600\r\nbody: Test message\r\nfriendly_name: Gmail\r\n```"}}
{"actor":{"display_login":"balloobbot"}}