How do you output text from a custom build tool so that it correctly displays unicode characters in the Visual Studio output window? This question is partially answered here:
https://msdn.microsoft.com/en-us/library/yxkt8b26.aspx
Unfortunately, no information is given on how to deal with unicode text, eg when a filename contains unicode characters.
I have tried sending output as UTF-8 as well as UTF-16, both with and without BOM, but nothing seems to make Visual Studio interpret the output as unicode.