Module encoding

Source
Expand description

Module for file encoding detection and conversion

This module provides functionality to:

  • Detect file encodings
  • Convert files to UTF-8
  • Skip binary files automatically
  • Process directories recursively

Functionsยง

scan_directory
Scans a directory for non-UTF-8 encoded files and optionally converts them to UTF-8