[FEATURE REQUEST] add "coding/encoding" property from modeline #1
Description
As I mentioned in the EditorConfig issue, it would be nice to have a plugin for Notepad++ that would support various modeline styles for setting the file encoding.
The example I used there was -*- encoding: "IBM850" -*-
and # encoding=ibm850
. Those were the examples I used, because those are the ones I've mostly seen in Python scripts, though PEP 263 allows the vim-style modelines as well.
If the NppFileSettings plugin were to add the encoding modeline (especially if it handled multiple of the modeline syntaxes) and be published, then I would start using it myself, and would recommend it in conversations like this one
(Sorry for spamming the EditorConfig issue. I wasn't sure where such functionality would be best implemented: but yes, this plugin seems a better fit for the modeline charset parsing. ;-) Thanks for the redirect.)