An offspring of #3716, with small things on the improvement side rather than fixes.
* Merge 2 controls in the prefs dialog (no functional change intended, but gets rid of a checkbox and some UI code) * Don't display unsupported encodings in the encoding menus and combo boxes (e.g. [ISO-8859-8-I](https://en.wikipedia.org/wiki/ISO-8859-8-I) and [HZ](https://en.wikipedia.org/wiki/HZ_(character_encoding)) are commonly unsupported on Linux, and I hear [ISO-IR-111](https://en.wikipedia.org/wiki/ISO-IR-111) usually isn't available on Windows) * Don't try unsupported encodings when guessing encoding (because it's useless) You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3720
-- Commit Summary --
* prefs: Remove separate checkbox for default open encoding * encodings: Add a flag for whether the encoding is supported * Don't display unsupported encodings * Don't try knowingly unsupported encodings
-- File Changes --
M data/geany.glade (16) M doc/geany.txt (10) M src/encodings.c (35) M src/encodingsprivate.h (1) M src/prefs.c (40)
-- Patch Links --
https://github.com/geany/geany/pull/3720.patch https://github.com/geany/geany/pull/3720.diff
Looks and works great, tested on Linux and Windows!
Merged #3720 into master.
github-comments@lists.geany.org