I use MSBuild.exe for building solution on machine with russian language. But in TeamCity build log all russian chars in wrong encoding. How to setup MSBuild.exe for properly output (UTF-8 for example)?
Asked
Active
Viewed 6,571 times
1 Answers
6
Check /fileloggerparameters command line parameter here. It should be the same for console logger.
e.g. MyLog.log file with diagnostic verbosity using UTF-8 encoding:
/fileLoggerParameters:LogFile=MyLog.log;Encoding=UTF-8;Verbosity=diagnostic

Ludwo
- 6,043
- 4
- 32
- 48
-
Thats not solve TeamCity problem, but now I have a normal encoded log file. Thanks! – Dmitriy Kudinov Feb 10 '12 at 07:17
-
3There's no Encoding option for /consoleloggerparameters msbuild parameter. As I used console output of msbuild in Jenkins, I had to change code page ([`chcp` command](http://ss64.com/nt/chcp.html)) – foka Apr 15 '16 at 14:31