RBS Editor and UTF8

I have an old problem with the RBS source editor. When I open source file that were edited with Visual Studio I almost every time have a problem with the UTF8 character set that I used in my program. This looks like this:

RBS editor

and Visual Studio

This is the same file opened in both editors with the same part of code and in RBS studio text is wrong. It would be no problem if the text just looks wrong but it is saved as a wrong format in a file and after saving the file this error is introduced also in Visual Studio.

Have you tried Radzen Blazor for Visual Studio? Its main purpose is to avoid the need of switching between tools.

Other than that what is the original encoding of your file? If it is not UTF8 problems are likely to happen.