Fixed issue with unicode over escaped characters

This commit is contained in:
Ray 2022-02-21 17:19:36 +00:00
parent 5f94a76408
commit b0e1f064e9
2 changed files with 5 additions and 3 deletions

View File

@ -12,9 +12,9 @@
<Company>Hi, I'm Ray</Company>
<Product>Fizzy Launcher</Product>
<Copyright>Ray Lam</Copyright>
<AssemblyVersion>0.2.4.047</AssemblyVersion>
<FileVersion>0.2.4.047</FileVersion>
<Version>0.2.4.047</Version>
<AssemblyVersion>0.2.4.117</AssemblyVersion>
<FileVersion>0.2.4.117</FileVersion>
<Version>0.2.4.117</Version>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

View File

@ -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
{