File encoded in system ASCII other than the default UTF-8 can't displayed correctly.
Many tools and IDEs on Windows defaults to save file using "ASCII" encoding, however this "ASCII" depending on Windows system default code page, for example on simplified Chinese system, it's Windows 936 (GB2312, GBK) , when import files created using such tool or IDE, it can't displayed correctly unless "File font encoding" (in Settings -> Preferences -> Misc -> Encoding Locale, the listed item is not readable through, other than display Windows-936, Windows-936 (Simplified Chinese) is more readable) to the correct one, unfortunately this is a global settings.
Can this be fixed? some ideas:
- Improve file encoding auto detection, as other Scintilla based editor does.
- Allow workspace or project local default file encoding settings as Eclipse does.
- Show file encoding in status bar, allow user to change. Currently only cursor position, indent mode, line ending, source language is displayed.