0

How do I reset a page layout character encoding back to UTF-8 in visual studio?

I'm having a solution in visual studio with all my page layouts, masterpages etc. When developing I've been mocking some page layout changes in SharePoint designer. When copy the source code from SharePoint Designer into Visual studio the file changes encoding!!

Is there a simple way to force or turn the encoding back to UTF-8 so I can get special Norwegian characters working..

enter image description here

1

It should be possible by using the File -> Advanced Save Options.. menu in Visual Studio when you have opened the file with incorrect encoding.

I think Western Europe (1252) should work as well in your scenario, besides UTF-8

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.