More loc (encoding mismatch)

This commit is contained in:
Rick Falkvinge
2017-10-17 17:21:46 +02:00
parent 5dabe60734
commit 27ec7c7297
+4
View File
@@ -45,6 +45,10 @@ namespace Swarmops.Frontend.Pages.Public
Response.Redirect(Request.RawUrl.Substring (0, Request.RawUrl.IndexOf ("Culture=")-1), true); // "-1" removes the preceding & or ?
}
// Loc / UTF8 support
Response.ContentEncoding = System.Text.Encoding.UTF8;
// Find what organization we're supposed to sign up to
this.Organization = Organization.FromVanityDomain (Request.Url.Host);