|2 posts found|
Hard Core Member
"Before I speak, I have something important to say."
OP 12/05/12 1:32:31 PM#1
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.
"Quote me as saying I was mis-quoted."
12/07/12 2:05:14 PM#2
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.