unescape utf characters when saving configs
This commit is contained in:
parent
bd6c0dd5be
commit
b087d4c8de
@ -27,6 +27,7 @@ namespace IW4MAdmin.Application.Misc
|
||||
_serializerOptions = new JsonSerializerOptions
|
||||
{
|
||||
WriteIndented = true,
|
||||
Encoder = System.Text.Encodings.Web.JavaScriptEncoder.UnsafeRelaxedJsonEscaping
|
||||
};
|
||||
_serializerOptions.Converters.Add(new JsonStringEnumConverter());
|
||||
_onSaving = new SemaphoreSlim(1, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user