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

Use UTF-8 decoding for java source files #1590

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

tonygermano
Copy link
Contributor

This is the default on Linux and Mac, but not on Windows. This should standardize across platforms. I believe this will also allow us to revert #1588.

Without ensuring that UTF-8 encoding is always expected, any characters in the java source with a code point above 127 will be read incorrectly by Windows. While we could escape all of those characters, one must remember to do it, and escaping those characters harms readability.

This is the default on Linux and Mac, but not on Windows. This should standardize across platforms.
@gbrail
Copy link
Collaborator

gbrail commented Aug 30, 2024

Yes, I think this makes sense and is a better way to ensure our Windows builds work. Thanks!

@gbrail gbrail merged commit 650ec29 into mozilla:master Aug 30, 2024
3 checks passed
@tonygermano tonygermano deleted the unicode-source-files branch August 30, 2024 22:32
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.

2 participants