mirror of
https://github.com/morluto/rea.git
synced 2026-12-03 21:46:01 +00:00
The Maven reader decoded every file as strict UTF-8, so an ISO-8859-1 POM such as Maven's own pom-encoding fixture, or a BOM-marked UTF-16 POM, failed as "not valid UTF-8". Decode with the shared XML text decoder and admit ISO-8859-1. A POM that declares an encoding REA does not decode is now refused as unsupported and names that declaration. Fixes #15664 Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>