https://bugs.kde.org/show_bug.cgi?id=496215
Bug ID: 496215 Summary: Add support or a warning system for UTF16 encoding Classification: Applications Product: LabPlot2 Version: 2.11.1 Platform: Manjaro OS: Linux Status: REPORTED Severity: wishlist Priority: NOR Component: backend Assignee: alexander.se...@web.de Reporter: evanghelli...@gmail.com Target Milestone: --- SUMMARY I tried to import a CSV file but the app refused to see it. Passing the file through LibreOffice Calc and copy/pasting the data led to text columns and trying to convert to numerical crashed the app. I then tried to read the same file in a Python script and that's when I realized that it was encoded in UTF-16. Opening with Kate and saving as UTF-8 solved all the issues. The file in question was either generated as such by a scientific instrument's software (it's spectrometer data), or it was passed through Microsoft Office and somehow ended up with UTF-16. Either way, I think it's possibly a common occurrence and potential source of frustration for scientists who aren't very code savvy and have to work in a Microsoft/Origin dominated ecosystem. It would be nice to have at least a more verbose error message, if not full support for files with such weird encodings. STEPS TO REPRODUCE 1. Import or copy/paste from CSV file with UTF16 encoding. OBSERVED RESULT Either failure to load data with "File does not exist" error, or loading gibberish data that cannot be converted or parsed further without crashing the app. EXPECTED RESULT Error message pointing out incompatible encoding or support for said encoding. SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.