I am trying to parse a Latin text with the Parse method of JsonNode from System.Text.Json class.
But when the text contains accents, the method returns escape characters.
var jsonString = File.ReadAllText(path, Encoding.GetEncoding(1252));
var jTemplate = JsonNode.Parse(jsonString);
The object "jsonString" contain the right text (with accents) but when I call JsonNode.Parse the object "jTemplate" contains the bad text
"Ciberseguridad en la organización" in jsonString
"Ciberseguridad en la organizaci\u00F3n" in jTemplate
I have also tried other encoding and code page, for example UTF8 with the same results...
¿Any idea how to parse text with accents?
Thanks in advance.