Skip to content

Show file encoding in the status bar and allow user to change it directly from there #1373

@zufuliu

Description

@zufuliu

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:

  1. Improve file encoding auto detection, as other Scintilla based editor does.
  2. Allow workspace or project local default file encoding settings as Eclipse does.
  3. Show file encoding in status bar, allow user to change. Currently only cursor position, indent mode, line ending, source language is displayed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions