goja-core/src/main/java/goja/core/libs/IO.java
public static Properties readUtf8Properties(InputStream is) {
        Properties properties = new OrderSafeProperties();
        try {
            properties.load(is);
            is.close();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
        return properties;
    }
public static Properties readUtf8Properties(InputStream is) {
        Properties properties = new OrderSafeProperties();
        try {
            properties.load(is);
            is.close();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
        return properties;
    }
public static Properties readUtf8Properties ( InputStream is ) { Properties properties = new OrderSafeProperties ( ) ; try { properties . load ( is ) ; is . close ( ) ; } catch ( Exception e ) { throw new RuntimeException ( e ) ; } return properties ; }
Read a properties file with the utf-8 encoding

@param is Stream to properties file
@return The Properties object
Read a properties file with the utf - 8 encoding