PyEncConv Encoding Converter (Python)

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.


Download the latest version. Unzip it. Run or python3 If you're using Windows, you might want to rename this .py file to .pyw. You need Python 3 installed.

Related project JEncConv

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).

Source code

The program is distributed as python source files. You can get the latest development version from github.

My sourceforge developer page.

Valid XHTML 1.0 Strict Valid CSS