Skip to main content

Module detector

Module detector 

Source
Expand description

Encoding detection (frozen rule-based algorithm, DESIGN.md §3).

Detection order is frozen: BOM sniffing first, then strict UTF-8, then strict GB18030. Reordering breaks idempotence on ASCII-only files.

Enums§

DetectedEncoding
Encodings this tool can classify a byte stream as.

Functions§

detect
Classify raw bytes. Rule-based on purpose — no statistical guessing.