Back to Intellij Community

UnsupportedCharacter

java/java-impl/resources/inspectionDescriptions/UnsupportedCharacter.html

2025.3-rc-2538 B
Original Source

Reports characters in property files that are unsupported by the ISO-8859-1 charset when Java 1.8 or earlier is used. The inspection checks if a property file contains characters that cannot be mapped to ISO-8859-1 and suggests converting them to Unicode escape sequences for compatibility.

Configure the inspection:

Use the Convert to escape sequences quick-fix to ensure compatibility with ISO-8859-1 encoding:

Example:

key=Java + ☕ = 🍀

After the quick-fix is applied:

key=Java + \u2615 = \uD83C\uDF40