Skip to content
cccskills
FreePublished on GitHub

encoding-fix

Mojibake-Reparatur für doppelt/dreifach kodiertes UTF-8. Behebt Windows-cp1252/Latin-1-Fehlinterpretationen. Ohne Abhängigkeiten.

The English summary is being prepared. Showing the original description.

See how to install

Files included (14)

  • SKILL.md1.8 KB
  • banner.png144.6 KB
  • en/SKILL.md1.8 KB
  • encoding_fix.py4.2 KB
  • es/SKILL.md2.0 KB
  • ja/SKILL.md2.1 KB
  • ru/SKILL.md2.5 KB
  • SKILL.en.md1.9 KB
  • SKILL.es.md2.0 KB
  • SKILL.fr.md2.0 KB
  • SKILL.ja.md2.1 KB
  • SKILL.ru.md2.6 KB
  • SKILL.zh.md1.9 KB
  • zh/SKILL.md1.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

<img src="banner.png" width="100%" alt="encoding-fix banner">

Encoding Fix

Repariert Mojibake (doppelt/dreifach kodiertes UTF-8) das durch Windows cp1252/Latin-1 Fehlinterpretation entsteht. Zero Dependencies — nur Python stdlib.

Typisches Problem

"ue" (U+00FC) → UTF-8 \xc3\xbc → als cp1252 gelesen → "ü"

Nutzung

Als Library

from encoding_fix import sanitize_outbound

clean = sanitize_outbound("Würge")  # → "Würge"

Subprocess-Output

from encoding_fix import sanitize_subprocess_output

text = sanitize_subprocess_output(process.stdout)

CLI

python encoding_fix.py "Würge"    # Einzelnen String prüfen
python encoding_fix.py              # Selbst-Test

Features

  • Idempotent: Korrekt kodierter Text wird nicht veraendert
  • Bis zu 3 Runden: Repariert auch dreifach-kodierte Strings
  • Subprocess-Dekoder: UTF-8/cp1252 Fallback fuer Prozess-Output
  • Zero Dependencies: Nur Python stdlib

Changelog

1.0.0 (2026-03-12)

  • Portiert aus BACH system/tools/encoding_fix.py

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Akademisches Studien- und Fristenmanagement mit Quellenprüfung, Datenschutz und realistischer Handlungsplanung.

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 19, 2026

Aktives Lernen, Erarbeitung von Fachinhalten und strukturierte Erstellung von Synthesen.

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 19, 2026

Prüfungsvorbereitung, Selbsttests, Probeklausuren und systematische Fehleranalyse.

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 19, 2026

史蒂芬·海斯(Steven Hayes)的接纳承诺疗法(ACT):包含心理灵活性六大核心过程的 Hexaflex 模型。

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 19, 2026

Acceptance & Commitment Therapy (ACT) according to Steven Hayes: Hexaflex model with the six core processes of psychological flexibility.

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 19, 2026

Acceptance & Commitment Therapy (ACT) nach Steven Hayes: Hexaflex-Modell mit den sechs Kernprozessen psychischer Flexibilität.

The English summary is being prepared. Showing the original description.

ellmos-ai/skills8Updated Oct 19, 2026

See all skills by ellmos-ai

Report a problem with this skill