Text file encoding column

The plugin that shows an "Encoding" column:

Before, I created a plugin File MIME type column that used the file.exe utility to determine the file encoding. Unfortunately, it works very slowly.

Thus, I have decided to implement the encoding detection manually using simple heuristics similar to Column: FileInfo plugin.
However, I have added the detection of binary and UTF8 files.

You can download the plugin:
PolarGoose/DirectoryOpus-TextFileEncoding-plugin

2 Likes

To install this, type /scripts into Opus's location bar to locate the scripts folder, then copy text-file-encoding-column.js to it.

(The other files in the GitHub repository don't need to be downloaded.)

@Leo,
Thank you.
Indeed, sorry for the confusion.
A better way is to download the js file from the latest release:
PolarGoose/DirectoryOpus-TextFileEncoding-plugin Releases

1 Like