🐞 Opening a text file with non standard encoding appears empty
Description
I tried opening a file which somehow had scrambled encoding (Japanese Shift JIS displayed on macOS) and special characters like Ü and °. Opening the file with CodeEdit results in an empty editor. Opening the file with any other App (XCode, CotEdit, ...) shows the file contents, but with a question mark symbol where the special characters like Ü should be.
I would expect CodeEdit to at least show the contents that are readable, and also show a question mark for unknown symbols. A completely empty file seems not right.
A bit to the background of the file: I'm not really sure how this encoding happened, since I'm not Japanese. The file originated from Windows, where all special characters (Ü, °) showed normally. The encoding displayed on Windows was either ANSI (which I think is an error) or, inside Eclipse IDE, ISO-81... I believe (I don't remember anymore and cant reproduce it). I then transferred it to my Mac, where the encoding displayed in XCode was Japanese Shift JIS with all special characters showing as question marks.
File download
To Reproduce
- Open the attached file
Expected Behavior
File should show content with some unknown symbols.
Version Information
CodeEdit: 0.0.3 alpha (32) macOS: 13.3.1(a) Xcode: 14.3
Additional Context
No response
Screenshots
No response
This is more of a feature that isn't implemented yet, see #1202.