From 27ec7c7297598c0753925634db5ceafdd198320e Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Tue, 17 Oct 2017 17:21:46 +0200 Subject: [PATCH] More loc (encoding mismatch) --- Site/Pages/v5/Public/Signup.aspx.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Site/Pages/v5/Public/Signup.aspx.cs b/Site/Pages/v5/Public/Signup.aspx.cs index c2d22c9f..5220898b 100644 --- a/Site/Pages/v5/Public/Signup.aspx.cs +++ b/Site/Pages/v5/Public/Signup.aspx.cs @@ -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);