Forum Discussion

Marc Roussel's avatar
Marc Roussel
Iron Contributor
Nov 29, 2021
Solved

I'm having a web app in Blazor Wasm ASP.NET Core server. There seem to be an issue with .NET 6

I have a file encoded in UTF8 thus having French special characters like é, è or ê etc... When I read the file using System.IO.File.ReadAllText(MyPathFileName, Encoding.UTF8) I still get the file...
  • Marc Roussel's avatar
    Marc Roussel
    Dec 06, 2021
    Solved. The problem was because the file wasn't saved in UTF8. After saving the file in UTF8 I've been able to use Encoding.UTF8.

    Thanx

Resources