What if I would upload file that content is not valid UTF-8? In general in this case you should not care at all about encoding of the file and use @cmkarlsson solution, but even then you do not need to construct list.
What if I would upload file that content is not valid UTF-8? In general in this case you should not care at all about encoding of the file and use @cmkarlsson solution, but even then you do not need to construct list.