BOM seen in file preview
Since Gitlab 8.something we're experiencing weird behaviour when copy/pasting text directly from file preview. We used to be able to copy paste text by selecting and CTRL + C it from Gitlab. See screenshots.
Here you can see a weird character at the beginning of the code.
It's not present when clicking through to the raw view:
When I paste text inside Visual Studio, you can see VS is confused and presents a solution:
When I accept the resolution you can see there's a mismatch
This behaviour is easily reproducable in other major browsers and different text editors (Sublime for example) in different type of files (.cs, .js, .cshtml etc), although I am unable to find a similar situation here at Gitlab.com. I suspect this is something like a BOM, all I know for sure is that this behaviour is new.