{"action":"created","issue":{"url":"https://api.github.com/repos/skrusty/AsterNET/issues/22","labels_url":"https://api.github.com/repos/skrusty/AsterNET/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/skrusty/AsterNET/issues/22/comments","events_url":"https://api.github.com/repos/skrusty/AsterNET/issues/22/events","html_url":"https://github.com/skrusty/AsterNET/issues/22","id":82829115,"number":22,"title":"Encoding.UTF8 caused Unhandled exception","user":{"login":"shax-xxx","id":7385535,"avatar_url":"https://avatars.githubusercontent.com/u/7385535?v=3","gravatar_id":"","url":"https://api.github.com/users/shax-xxx","html_url":"https://github.com/shax-xxx","followers_url":"https://api.github.com/users/shax-xxx/followers","following_url":"https://api.github.com/users/shax-xxx/following{/other_user}","gists_url":"https://api.github.com/users/shax-xxx/gists{/gist_id}","starred_url":"https://api.github.com/users/shax-xxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shax-xxx/subscriptions","organizations_url":"https://api.github.com/users/shax-xxx/orgs","repos_url":"https://api.github.com/users/shax-xxx/repos","events_url":"https://api.github.com/users/shax-xxx/events{/privacy}","received_events_url":"https://api.github.com/users/shax-xxx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/skrusty/AsterNET/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-30T14:39:17Z","updated_at":"2015-06-02T08:47:03Z","closed_at":null,"body":"Hello.\r\nI experiment with AsterNET trying to get fields with some non English characters . If encoding is set to ASCII - then login successful, but all localized data is ?????? ??\r\nOtherwise, if it is set to UTF8 then i get on astCon.Login():\r\n\r\n>Unhandled exception type \"AsterNET.Manager.ManagerException\" in AsterNET.dll\r\n>Additional info: Unable login to Asterisk - Missing action in request\r\n\r\nVery similar issue discussed there  https://asternet.codeplex.com/discussions/550564 but no answer till now.\r\n\r\nSimple code from your examples (AstTray - little bit modified):\r\n```\r\n// Connecting to AMI\r\ntry\r\n            {\r\n                astCon = new ManagerConnection(\"192.168.1.1\", 5038, \"admin\", \"pass\", Encoding.UTF8);\r\n\r\n            }\r\n            catch (Exception ex)\r\n            {\r\n                MessageBox.Show(string.Format(\"Error connecting to {0}. Error: {1}\",\r\n                    ConfigurationManager.AppSettings[\"astHost\"],\r\n                    ex.Message));\r\n\r\n                // Terminate Application\r\n                Application.Exit();\r\n            }\r\n            // ------------------------------------------------------------------------\r\n            // Set Event Handlers\r\n            astCon.NewState += astCon_NewState;\r\n            astCon.ConnectionState += astCon_ConnectionState;\r\n          \r\n            astCon.UseASyncEvents = true;\r\n\r\n            // Login to AMI\r\n            astCon.Login();\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/skrusty/AsterNET/issues/comments/107867774","html_url":"https://github.com/skrusty/AsterNET/issues/22#issuecomment-107867774","issue_url":"https://api.github.com/repos/skrusty/AsterNET/issues/22","id":107867774,"user":{"login":"skrusty","id":8448201,"avatar_url":"https://avatars.githubusercontent.com/u/8448201?v=3","gravatar_id":"","url":"https://api.github.com/users/skrusty","html_url":"https://github.com/skrusty","followers_url":"https://api.github.com/users/skrusty/followers","following_url":"https://api.github.com/users/skrusty/following{/other_user}","gists_url":"https://api.github.com/users/skrusty/gists{/gist_id}","starred_url":"https://api.github.com/users/skrusty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skrusty/subscriptions","organizations_url":"https://api.github.com/users/skrusty/orgs","repos_url":"https://api.github.com/users/skrusty/repos","events_url":"https://api.github.com/users/skrusty/events{/privacy}","received_events_url":"https://api.github.com/users/skrusty/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T08:47:03Z","updated_at":"2015-06-02T08:47:03Z","body":"Feel free to fork and submit a pull request! "}}