Fixed issue with unicode over escaped characters
This commit is contained in:
parent
5f94a76408
commit
b0e1f064e9
@ -12,9 +12,9 @@
|
|||||||
<Company>Hi, I'm Ray</Company>
|
<Company>Hi, I'm Ray</Company>
|
||||||
<Product>Fizzy Launcher</Product>
|
<Product>Fizzy Launcher</Product>
|
||||||
<Copyright>Ray Lam</Copyright>
|
<Copyright>Ray Lam</Copyright>
|
||||||
<AssemblyVersion>0.2.4.047</AssemblyVersion>
|
<AssemblyVersion>0.2.4.117</AssemblyVersion>
|
||||||
<FileVersion>0.2.4.047</FileVersion>
|
<FileVersion>0.2.4.117</FileVersion>
|
||||||
<Version>0.2.4.047</Version>
|
<Version>0.2.4.117</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
@ -329,6 +329,7 @@ namespace FizzyLauncher
|
|||||||
var options = new JsonSerializerOptions();
|
var options = new JsonSerializerOptions();
|
||||||
options.Converters.Add(new JsonPointConverter());
|
options.Converters.Add(new JsonPointConverter());
|
||||||
options.Converters.Add(new JsonSizeConverter());
|
options.Converters.Add(new JsonSizeConverter());
|
||||||
|
options.Encoder = System.Text.Encodings.Web.JavaScriptEncoder.UnsafeRelaxedJsonEscaping;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -399,6 +400,7 @@ namespace FizzyLauncher
|
|||||||
var options = new JsonSerializerOptions();
|
var options = new JsonSerializerOptions();
|
||||||
options.Converters.Add(new JsonPointConverter());
|
options.Converters.Add(new JsonPointConverter());
|
||||||
options.Converters.Add(new JsonSizeConverter());
|
options.Converters.Add(new JsonSizeConverter());
|
||||||
|
options.Encoder = System.Text.Encodings.Web.JavaScriptEncoder.UnsafeRelaxedJsonEscaping;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user