I\'m debugging some issues with writing pieces of an object to a file and I\'ve gotten down to the base case of just opening the file and writing \"TEST\" in it. I\'m doing
That's a byte order mark, most likely. It's because the stream's encoding is set to Unicode.