Fix Encoding
fc_fix_encodingDetect and fix file text encoding errors (mojibake, double UTF-8) such as garbled German umlauts (ä → ae) and Euro sign issues (€ → EUR). Optionally preview changes or create a backup before applying repairs.
Instructions
Detects and repairs encoding errors (mojibake, double UTF-8).
Args:
path (string): Path to the file
dry_run (boolean): Only show problems
create_backup (boolean): Create backup
Repairs common mojibake patterns like:
ä -> ae, ö -> oe, ü -> ue (German umlauts)
ß -> ss, € -> EUR
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file | |
| dry_run | No | Preview only | |
| create_backup | No | Create backup |