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

Set java file.encoding to support non-latin customizations #602

Merged
merged 1 commit into from
Dec 29, 2023

Conversation

Antiarchitect
Copy link

E.g. non-latin customizations via UI_APPNAME, UI_HOMEDESCRIPTION, etc looks like this without this option:

image

License Agreement for Contributions

By submitting this pull request, I acknowledge and agree that my contributions will be included in Stirling-PDF and that they can be relicensed in the future under MPL 2.0 (Mozilla Public License Version 2.0) license.

(This does not change the general open-source nature of Stirling-PDF, simply moving from one license to another license)

@Frooodle
Copy link
Member

Does this work? I would assume that the file itself isn't encoding in utf8 not that java was reading it incorrectly

@Frooodle
Copy link
Member

Has it been tested

@Antiarchitect
Copy link
Author

Antiarchitect commented Dec 29, 2023

Yep it was tested (cyrillic text) and I've found this solution via this Stackoverfllow thread: https://stackoverflow.com/a/362006/213804

@Frooodle Frooodle merged commit 27e8335 into Stirling-Tools:main Dec 29, 2023
2 checks passed
@Antiarchitect Antiarchitect deleted the set-file-encoding branch December 29, 2023 14:04
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