New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
zufuliu opened this Issue Aug 11, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@zufuliu

zufuliu commented Aug 11, 2016

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.
@zufuliu

This comment has been minimized.

Show comment
Hide comment
@zufuliu

zufuliu Aug 11, 2016

Sorry, just not find the Misc tab in "Project local editor preferences". However I would like to request a change file encoding feature.

zufuliu commented Aug 11, 2016

Sorry, just not find the Misc tab in "Project local editor preferences". However I would like to request a change file encoding feature.

@eranif eranif changed the title from File encoded in system ASCII other than the default UTF-8 can't displayed correctly to Show file encoding in the status bar and allow user to change it directly from there Sep 7, 2016

@eranif eranif closed this in 90484cc Jan 27, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment