Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: MSBuild process output encoding #155

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hikarin522
Copy link

Fixed encoding of strings received from MSBuild process.

Fixed encoding of strings received from MSBuild process.
@jwittner
Copy link
Member

jwittner commented Jan 3, 2022

Not sure I understand the issue this is fixing...

@ryantrem
Copy link
Member

ryantrem commented Jan 3, 2022

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?

@hikarin522
Copy link
Author

If the system language is Japanese, MSBuild will be output as CP932, which will cause garbled characters.
Similar problems may occur in other languages.

@hikarin522
Copy link
Author

Below is an image of a PackageReference typo error.

  • before
    image

  • after
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants