It looks like you're new here. If you want to get involved, click one of these buttons!
I just spent about 4 hours trying to figure out why an exception was being thrown while loading an HLSL file. The compiler was complaining about an unreconized token on line 17. The line contained a simple assignment. It was about the simplest shader you can write.
After a while something possessed me to look at the fx file in a hex editor. Lo and behold the file started with the infamous "EF BB BF".
Sorry, I needed to vent.
There are certain queer times and occasions in this strange mixed affair we call life when a man takes this whole universe for a vast practical joke, though the wit thereof he but dimly discerns, and more than suspects that the joke is at nobody's expense but his own.
-- Herman Melville
Comments
Yeah, byte order mark causes a lot of headaches...
If it makes you feel any better, every developer gets screwed by it sooner or later.