Issue with application manifests on XP
Someone forgot to test for this:
- Create an application manifest document (e.g.
foo.exe.manifest) and include it as part of your foo application.
- Mark the
<xml> tag with the encoding="UTF-8" atribute.
- Compile and test your sample app; works as expected.
- Now use VS's Advanced Save Options dialog (or Notepad's Encoding option on the Save As dialog) to save it as UTF-8 with a BOM marker. This is a perfectly legal option.
- Recompile. The test run now fails!
So the process loader's internal XML parser doesn't handle the BOM marker. I'll have to log a bug for this.