Fix Encoding
fc_fix_encodingDetects and fixes file encoding problems like mojibake (e.g., garbled German umlauts) by restoring correct text characters. Supports preview mode and backup creation.
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 |