Quote:
Originally Posted by kovidgoyal
I doubt it is the use of a raw string.
|
I made quite a few tests, the results being more baffling every time I tried something new until I thought of trying the code in a new terminal.
I haven't been able to reproduce any of the weird behavior in the new terminal and I (stupidly) closed the original terminal I was on so I will never know exactly what was wrong. My best guess is that the codepage value my terminal was on was a very weird value, probably due to running vcpkg (which changes the cp value). Mind you this is just a guess.
Thank you for your help pointing me in the right direction.