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§
- Detected
Encoding - Encodings this tool can classify a byte stream as.
Functions§
- detect
- Classify raw bytes. Rule-based on purpose — no statistical guessing.