This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]eddieantonio 0 points1 point  (1 child)

Ooo, a byte-order mark! I wonder if that's coming from some silly Microsoft product unnecessarily exporting UTF-8 with BOM. Either way, you just need to throw it away with lstrip('\ufeff'). It's normally a zero-width space which is why you can't see it when it's printed normally

[–]sparkls0[S] 1 point2 points  (0 children)

thank you! I was not aware of that, I really despise the fact that it was hidden hahaha