Skip to content

New rule: ISO-8859-1 characters not compatible with UTF-8 should be escaped to keep compatibility with Java 9 default encoding switch #75

@arend-von-reinersdorff

Description

@arend-von-reinersdorff

Java 9 will switch the default property encoding from ISO-8859-1 to UTF-8:
http://openjdk.java.net/jeps/226

This will lead to garbled input if a .properties file for Java 8 or earlier is read by Java 9 in case it
contains non-ASCII, non-escaped characters. Eg:
admin.name=Jörg Schäfer

A .properties file that should be read by Java 9 and Java 8 or earlier should escape all non-ASCII characters.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions