openwisp-radius icon indicating copy to clipboard operation
openwisp-radius copied to clipboard

[bug] CSV import: failure on importing UTF16 encoded CSV files fails with 500 internal server error

Open nemesifier opened this issue 1 year ago • 0 comments

Describe the bug Only files encoded with UTF8 without BOM marker are accepted now, but trying to upload UTF16 fails with an exception that doesn't point out this issue.

Steps To Reproduce Create batch import using CSV, try these select files:

Expected behavior A clear error message or handling the encoding automatically.

Screenshots Screenshot from 2024-09-13 19-23-27

nemesifier avatar Sep 13 '24 23:09 nemesifier