{"action":"opened","issue":{"url":"https://api.github.com/repos/projectkudu/slingshot/issues/32","labels_url":"https://api.github.com/repos/projectkudu/slingshot/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/projectkudu/slingshot/issues/32/comments","events_url":"https://api.github.com/repos/projectkudu/slingshot/issues/32/events","html_url":"https://github.com/projectkudu/slingshot/issues/32","id":59651609,"number":32,"title":"Setup form fails if directory name contains characters from extended ASCII set","user":{"login":"artem-dudarev","id":8775253,"avatar_url":"https://avatars.githubusercontent.com/u/8775253?v=3","gravatar_id":"","url":"https://api.github.com/users/artem-dudarev","html_url":"https://github.com/artem-dudarev","followers_url":"https://api.github.com/users/artem-dudarev/followers","following_url":"https://api.github.com/users/artem-dudarev/following{/other_user}","gists_url":"https://api.github.com/users/artem-dudarev/gists{/gist_id}","starred_url":"https://api.github.com/users/artem-dudarev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artem-dudarev/subscriptions","organizations_url":"https://api.github.com/users/artem-dudarev/orgs","repos_url":"https://api.github.com/users/artem-dudarev/repos","events_url":"https://api.github.com/users/artem-dudarev/events{/privacy}","received_events_url":"https://api.github.com/users/artem-dudarev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-03T14:49:29Z","updated_at":"2015-03-03T14:49:29Z","closed_at":null,"body":"If Azure active directory name contains character 'ó' then the setup form doesn't open because of the following error:\r\n\r\nSystem.Text.DecoderFallbackException: Unable to translate bytes [F3] at index 17 from specified code page to Unicode.\r\n   at System.Text.DecoderExceptionFallbackBuffer.Throw(Byte[] bytesUnknown, Int32 index)\r\n   at System.Text.DecoderExceptionFallbackBuffer.Fallback(Byte[] bytesUnknown, Int32 index)\r\n   at System.Text.DecoderFallbackBuffer.InternalFallback(Byte[] bytes, Byte* pBytes, Char*& chars)\r\n   at System.Text.UTF8Encoding.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, DecoderNLS baseDecoder)\r\n   at System.Text.DecoderNLS.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, Boolean flush)\r\n   at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex, Boolean flush)\r\n   at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex)\r\n   at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffer)\r\n   at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)\r\n   at Newtonsoft.Json.JsonTextReader.ReadData(Boolean append, Int32 charsRequired)\r\n   at Newtonsoft.Json.JsonTextReader.ParseValue()\r\n   at Newtonsoft.Json.JsonTextReader.ReadInternal()\r\n   at Newtonsoft.Json.JsonTextReader.Read()\r\n   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)\r\n   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n   at System.Net.Http.Formatting.JsonMediaTypeFormatter.<>c__DisplayClass8.<ReadFromStreamAsync>b__6()\r\n   at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Slingshot.Controllers.ARMController.<GetTenantsArray>d__66.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)\r\n   at Slingshot.Controllers.ARMController.<GetTemplate>d__4a.MoveNext()"}}