I use Unicode UTF-16 as the default encoding with JEdit and I understand that it is the one used by JEdit internally.
It is a little surprising that, if one tries to open a file encoded with just UTF-8, it be always wrongly decoded,
even with the 'Autodectect' option selected and UTF-8 included in the fallback and autodetection lists of the General Options / Encodings tab.
This is most annoying when trying to run any of the standard macros, as they all seem to be UTF-8 encoded:
They do not work until I save them with UTF-16.
I know that this is slippery ground, but perhaps there is room for some improvement.
Thanks.
Macro encoding is taken from your environment.
See [#3540] encoding of macros is not specified
Related
Bugs: #3540