View encoding

0

I'm having trouble setting the page encoding I've made in ASP.NET Core (keeps appearing ? in accented letters).

In the old MVC you made the configuration in the web.config project, but now that file does not exist, and I have no idea how to transform its configuration to the Startup.cs (where settings are made now).

    
asked by anonymous 29.05.2017 / 06:24

1 answer

1

I have the solution to your problem, follow these steps:
1. Open the file containing the words with accent;
2. Go to File-> Save As ;
3. And there, click on the button of the Save button and, Save with Encoding . 4. Then choose the UTF-8 option. 5. Do not worry if VS asks you to replace the file

Start the project and see.

    
12.09.2017 / 09:45