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

CIT Resewn read .properties file in UTF-8 #316

Open
Brancieq-Paul opened this issue Sep 12, 2023 · 0 comments
Open

CIT Resewn read .properties file in UTF-8 #316

Brancieq-Paul opened this issue Sep 12, 2023 · 0 comments

Comments

@Brancieq-Paul
Copy link

As we can see here, CIT Resewn expect UTF-8 encoding for properties file:

try (BufferedReader reader = new BufferedReader(new InputStreamReader(is, StandardCharsets.UTF_8))) {

The problem is: ISO 8859-1 should be used for properties file. It seems that Optifine is able to read both UTF-8 and ISO 8859-1 without issues, but .properties file encoded with ISO 8859-1 will not work with CIT Resewn.

Example of properties that work with Optifine but not with CIT Resewn:
lunettes_icon.txt

(The extension was changed to be able to upload it on github, but it's a .properties in the resource pack)

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

No branches or pull requests

1 participant