UTF-8 preamble is a problem when you concatenate files

You’re just changing a couple of words in an XML file with Notepad. Your data modifications are guaranteed to be valid by schema. That couldn’t possibly break anything, could it?
<insert the ugly buzzer sound>
It quite likely couldn’t, unless you were editing an XML file that happened to be using UTF-8. Because while Notepad certainly looks [...]

December 21, 2009  Tags:   Posted in: .NET, Misc. programming  4 Comments