BACH Tool: c_encoding_fixer
==================================================
Generiert: 2026-01-23 10:36
Quelle: tools/c_encoding_fixer.py

BESCHREIBUNG
----------------------------------------
c_encoding_fixer.py - Encoding-Probleme in Textdateien beheben

Zweck: Korrigiert Encoding-Fehler (Mojibake, falsche UTF-8 Dekodierung etc.)
       mit der ftfy-Bibliothek. Erstellt automatisch Backups.

Autor: Claude (adaptiert von EncodingFixxer.py)
Abhängigkeiten: ftfy (pip install ftfy), os, json (stdlib)

Usage:
    python c_encoding_fixer.py <file_or_folder> [--no-backup] [--recursive] [--json]
    
Beispiele:
    python c_encoding_fixer.py script.py              # Einzelne Datei
    python c_encoding_fixer.py ./src --recursive      # Ganzer Ordner
    python c_encoding_fixer.py file.py --no-backup    # Ohne Backup
    python c_encoding_fixer.py file.py --json         # JSON-Output

VERWENDUNG
----------------------------------------
python bach.py tools run c_encoding_fixer [args]
oder direkt: python tools/c_encoding_fixer.py [args]

HINWEISE
----------------------------------------
- Automatisch generiert aus Docstring
- Bei Fragen: bach tools show c_encoding_fixer
