fix_encoding
Detect and repair encoding issues such as broken UTF-8, BOM, and cp1252 artifacts in files. Dry-run mode analyzes without modifying.
Instructions
Fix encoding issues: detect and repair BOM, broken UTF-8, cp1252 artifacts. Common on Windows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file | |
| dry_run | No | true = analyze only, false = write fixed file |