It appears that there are at least two questions here on Ask Ubuntu that are similar to this, but neither has been answered.
- How can I find out the encoding method that gedit uses to open a text file?
- How does gedit detect the encoding of a text file?
Text files can be valid under multiple encodings simultaneously. I would like to know the exact encoding gedit uses to decode a given file. Can this be done in the recent versions of gedit?
(I'd like to note that I am aware of other tools that can determine the encoding of a given file. However, I want to know the encoding as detected by gedit specifically)