{"action":"created","issue":{"url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/217","labels_url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/217/comments","events_url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/217/events","html_url":"https://github.com/sabnzbd/sabnzbd/issues/217","id":80804337,"number":217,"title":"non-Unicode-popup when trying münchen.de as newsserver","user":{"login":"sanderjo","id":1273502,"avatar_url":"https://avatars.githubusercontent.com/u/1273502?v=3","gravatar_id":"","url":"https://api.github.com/users/sanderjo","html_url":"https://github.com/sanderjo","followers_url":"https://api.github.com/users/sanderjo/followers","following_url":"https://api.github.com/users/sanderjo/following{/other_user}","gists_url":"https://api.github.com/users/sanderjo/gists{/gist_id}","starred_url":"https://api.github.com/users/sanderjo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanderjo/subscriptions","organizations_url":"https://api.github.com/users/sanderjo/orgs","repos_url":"https://api.github.com/users/sanderjo/repos","events_url":"https://api.github.com/users/sanderjo/events{/privacy}","received_events_url":"https://api.github.com/users/sanderjo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-26T05:42:42Z","updated_at":"2015-05-26T10:00:48Z","closed_at":null,"body":"As a unicode test, I filled out \"münchen.de\" as newsserver in SAB 0.8.0 alpha 1 (git version).\r\n\r\nWhen I click on Test Server, the popup shows garbled text (not \"münchen.de\")\r\n![sabnzbd - unicode test server](https://cloud.githubusercontent.com/assets/1273502/7805761/777bd796-0378-11e5-91da-71b4a0400d00.png)\r\n&#252 looks like the HTML code of ü.\r\n\r\nWhen I add the server anyway, the output on command line is correct:\r\n\r\n```\r\n2015-05-26 07:24:18,588::INFO::[downloader:399] 1@münchen.de: Initiating connection\r\n2015-05-26 07:24:18,611::INFO::[newswrapper:235] Failed to connect: (110, '[Errno 13] Permission denied') 1@münchen.de:119\r\n```\r\n\r\nI also tried a Chinese server name, with the same results\r\n\r\n![sabnzbd unicode chinese](https://cloud.githubusercontent.com/assets/1273502/7805779/d26b1cb6-0378-11e5-9288-ca8135128dd4.png)\r\n\r\n```\r\n2015-05-26 07:28:51,003::INFO::[downloader:399] 1@見.香港: Initiating connection\r\n2015-05-26 07:28:51,096::INFO::[newswrapper:235] Failed to connect: (110, '[Errno 111] Connection refused') 1@見.香港:119\r\n```\r\n\r\nI had a look in Chromium, and the problem is in the TAPI response:\r\n\r\n![sabnzbd - unicode test server - network](https://cloud.githubusercontent.com/assets/1273502/7805894/b6587b34-037a-11e5-9945-e3b58c49a3a4.png)\r\n\r\n![sabnzbd unicode - test server response](https://cloud.githubusercontent.com/assets/1273502/7805898/bba5bfa2-037a-11e5-9149-665a0a9bcb46.png)"},"comment":{"url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/comments/105475315","html_url":"https://github.com/sabnzbd/sabnzbd/issues/217#issuecomment-105475315","issue_url":"https://api.github.com/repos/sabnzbd/sabnzbd/issues/217","id":105475315,"user":{"login":"shypike","id":851163,"avatar_url":"https://avatars.githubusercontent.com/u/851163?v=3","gravatar_id":"","url":"https://api.github.com/users/shypike","html_url":"https://github.com/shypike","followers_url":"https://api.github.com/users/shypike/followers","following_url":"https://api.github.com/users/shypike/following{/other_user}","gists_url":"https://api.github.com/users/shypike/gists{/gist_id}","starred_url":"https://api.github.com/users/shypike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shypike/subscriptions","organizations_url":"https://api.github.com/users/shypike/orgs","repos_url":"https://api.github.com/users/shypike/repos","events_url":"https://api.github.com/users/shypike/events{/privacy}","received_events_url":"https://api.github.com/users/shypike/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T10:00:48Z","updated_at":"2015-05-26T10:00:48Z","body":"When using the numerical IP of the servers, do you get the same response?\r\nWhat happens if you replace your patch (for PyOpenSSL 0.13) with this:\r\nself.nntp.sock.sendall(command.encode('latin-1', 'ignore'))\r\nThat could fix the münchen.de problem, not the Chinese one."}}