.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.TH ecd 1 "ecd 0.1.0"
.SH NAME
ecd \- Detect text file character encodings
.SH SYNOPSIS
\fBecd\fR [\fB\-h\fR|\fB\-\-help\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIsubcommands\fR]
.SH DESCRIPTION
Detect text file character encodings.
.PP
Supports 38 encodings including UTF\-8, GBK, Big5, Shift_JIS, and Windows code pages.
Scan files or directories in parallel; single\-file mode prints the encoding name only.
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
Print help (see a summary with \*(Aq\-h\*(Aq)
.TP
\fB\-V\fR, \fB\-\-version\fR
Print version
.SH SUBCOMMANDS
.TP
ecd\-check(1)
Detect file encoding(s)
.SH EXTRA
EXAMPLES:
ecd check \-f man.txt Detect encoding of one file
ecd check \-d ./src Scan directory recursively
ecd check \-d . \-p "*.rs" Only Rust source files
ecd check \-f a.txt \-f b.txt Multiple files
ecd check \-d . \-i ascii \-v Skip ASCII, show stats
.SH VERSION
v0.1.0