Possible problem viewing source with VS2017 text encoding

I’ve had a few crashes with Nsight compute which otherwise looks great. It tends to crash VS2017 the second time it is run and has finished collected data with the crash occurring in some qt nvidia dll.

But also I have noticed when looking at the source code view it doesn’t always show the code and instead shows a few characters of gibberish. I seem to have fixed this by re-saving the specific source file as UTF8 which leads me to this insanity:

https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/33917956-do-not-create-utf16-source-code-files-it-is-not-c

Whoever decided that at Microsoft needs to be retired.

Thanks for your feedback, we are looking into this issue.