Installation Help: UnicodeDecodeError

I'm trying to set up QuantRocket but cannot get past the docker-compose command. I created the docker-compose.yml file, copied from the tutorial but get this error:

ERROR: .UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

That means there's an invalid character in your docker-compose.yml. Did you paste the Compose file via a terminal command (pbaste for Mac, Get-Clipboard for Windows) or into a text editor? Editors might bungle the file encoding but using the terminal commands shouldn't.

I originally used Get-Clipboard for Windows. When I got the error I opened the file and pasted it manually, neither worked. However, after reading your response I deleted the file and created a new file from the text editor and pasted the contents there and got it working. I don't know why it wouldn't work the other way since the document looks exactly the same as before but now its working. Thanks!