MSBuildForUnity
MSBuildForUnity copied to clipboard
fix: MSBuild process output encoding
Fixed encoding of strings received from MSBuild process.
Not sure I understand the issue this is fixing...
Thanks for the contribution @hikarin522! Will you add a comment explaining why this is needed? I guess it is trying to match the text encoding to whatever Unity is using? What happens when that is not done?
If the system language is Japanese, MSBuild will be output as CP932, which will cause garbled characters. Similar problems may occur in other languages.
Below is an image of a PackageReference typo error.
-
before

-
after
