From b0e1f064e968cc026527cab0cc20ee47e3fcc00d Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 21 Feb 2022 17:19:36 +0000 Subject: [PATCH] Fixed issue with unicode over escaped characters --- FizzyLauncher.csproj | 6 +++--- MainForm.cs | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/FizzyLauncher.csproj b/FizzyLauncher.csproj index ce43ce6..2049dd3 100644 --- a/FizzyLauncher.csproj +++ b/FizzyLauncher.csproj @@ -12,9 +12,9 @@ Hi, I'm Ray Fizzy Launcher Ray Lam - 0.2.4.047 - 0.2.4.047 - 0.2.4.047 + 0.2.4.117 + 0.2.4.117 + 0.2.4.117 diff --git a/MainForm.cs b/MainForm.cs index 339feda..62608d4 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -329,6 +329,7 @@ namespace FizzyLauncher var options = new JsonSerializerOptions(); options.Converters.Add(new JsonPointConverter()); options.Converters.Add(new JsonSizeConverter()); + options.Encoder = System.Text.Encodings.Web.JavaScriptEncoder.UnsafeRelaxedJsonEscaping; try { @@ -399,6 +400,7 @@ namespace FizzyLauncher var options = new JsonSerializerOptions(); options.Converters.Add(new JsonPointConverter()); options.Converters.Add(new JsonSizeConverter()); + options.Encoder = System.Text.Encodings.Web.JavaScriptEncoder.UnsafeRelaxedJsonEscaping; try {