The declared encoding decides what the file's bytes become
All 2 scenarios hold
The last row of /subfolder/custom_encoding.table holds the six ISO-8859-1 letters ÉÜ¥ÆØÅ. Read in another encoding the same bytes decode to other characters, so the encoding belongs with the resource path.
expected outcome
broken scenario
| Scenario | Encoding | Characters in the last row's first cell? | Code points? |
|---|---|---|---|
| The encoding the file uses | ISO-8859-1 | 6 |
|
| Read as UTF-8 instead | UTF-8 | 5 |
|