Why is the txt
being converted to the txt with the method below?
???????????? ???????????????? ???????????????????? ?????????????? ???????? ?????? ????????
This I believe did not happen before but I just saw it doing it. I am using .NET 4.8.
public static string RemoveAccent(this string txt)
{
if(txt == null)
return txt;
byte[] bytes = Encoding.GetEncoding("Cyrillic").GetBytes(txt);
return Encoding.ASCII.GetString(bytes);
}