๐ Cannot show the contents of text files that are not UTF-8 encoded
plbstl opened this issue ยท 0 comments
plbstl commented
Description
CodeEdit cannot show the contents of text files that are not UTF8 (and ASCII) encoded. They show up as empty.
This might be a duplicate of #1263 and it is not related to #1202 as that has to do with writing to a file.
Xcode shows file contents regardless of the Default Text Encoding
Setting.
To Reproduce
- Open CodeEdit
- Select a text file that is not encoded in UTF-8
Example files can be gotten from: https://github.com/stain/encoding-test-files
Expected Behavior
CodeEdit should at least show contents of the opened file, even if characters are replaced with question marks.
Version Information
CodeEdit: 0.1.0-alpha (38)
macOS: 14.4.1
Xcode: 15.3
Additional Context
No response