Resource files can declare a non-default character encoding

All 3 scenarios hold

The rows below are the lines of src/test/resources/subfolder/custom_encoding.table, read with encoding = "ISO-8859-1" — the last row's letters only count as six characters because the file was decoded in the encoding it was written in.

expected outcome broken scenario
stringlength?
“”0
abc3
ÉÜ¥ÆØÅ6