encguess(1perl)

encguess1perl

Guess character encodings of files

Usage

encguess [switches] filename ...

Version

$Id: encguess,v 0.4 2023/11/10 01:10:50 dankogai Exp $

Overview

The encoding identification is done by checking one encoding type at a time until all but the right type are eliminated. The set of encoding types to try is defined by the -s parameter and defaults to ascii, utf8 and UTF-16/32 with BOM. This can be overridden by passing one or more encoding types via the -s parameter. If you need to pass in multiple suspect encoding types, use a quoted string with the a space separating each value.

From perl 5.44.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.