CIT Resewn

CIT Resewn

14M Downloads

CIT Resewn read .properties file in UTF-8

Brancieq-Paul opened this issue ยท 0 comments

commented

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)