PyEncConv converts the encoding of text files, e.g. subtitles. If you don't know the original encoding, use the program's preview function with different encodings (e.g. Latin10, windows-1252).
You can also use it from the command line (to convert many files at once).
Run it with
--help to see a list of options.
the latest version.
If you're using Windows,
you might want to rename this
.py file to
You need Python 3 installed.
JEncConv is a similar project written in Java.
Both projects use the encoding and decoding functionality of their platforms (Java and Python). For most uses, they behave identically. But for some corner cases, you might prefer one over the other.
Supported encodings: Many encodings are supported by both, but not all (for example ISO-8859-16 (Latin10) is supported by Python 3 but not by Sun's Java 1.6).
Error Handling: PyEncConv only uses its platform's default behavior (stop and fail with an error).
The program is distributed as python source files. You can get the latest development version from github.
My sourceforge developer page.