claude-code - 💡(How to fix) Fix Claude Code ignoriert regelmäßig die Umlaut-Vorgabe aus CLAUDE.md und Auto-Memory und schreibt ae/oe/ue/ss statt ä/ö/ü/ß in Synopsis, Kommentare und Meldungen — trotz expliziter, mehrfach bestätigter Instruktion. [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#50791Fetched 2026-04-20 12:12:55
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1
RAW_BUFFERClick to expand / collapse

Ausführlich:

  1. Regelverletzung trotz klarer Instruktion In CLAUDE.md und im persistenten Memory steht unmissverständlich: "Deutsche Umlaute (ä, ö, ü, ß) verwenden, niemals ae/oe/ue/ss als Ersatz". Trotzdem tauchen in neu erzeugtem oder bearbeitetem Code laufend wieder Ersatzschreibweisen auf (fuer, faellt, zurueck, ausfuehrbaren, Laeufe, pruefen ...). Der Pester-Test Test-UmlautSubstitution findet das zuverlässig — aber erst nach dem Schaden.
  2. Kein stabiles Lernen über Sitzungen hinweg Die Korrektur wird in der aktuellen Sitzung akzeptiert, in der nächsten Sitzung wiederholt sich das Muster. Memory-Einträge reichen offensichtlich nicht, um die tokenweise Textgenerierung zu steuern.
  3. Reparaturversuche zerstören Dateien Noch schlimmer: wenn Claude Code versucht, Umlaut-Probleme (oder Encoding-Probleme) mit selbstgeschriebenen Tools/Skripten zu reparieren, wird nicht nur das Encoding verfälscht — teilweise ist die komplette Datei danach unbrauchbar (abgeschnitten, durcheinander, BOM-Mix, Zeilenenden zerschossen). Ein einzelner "Hilfs"-Lauf kann stundenlange Arbeit kosten.

Erwartet:

  • Umlaut-Regel wird beim Generieren berücksichtigt, nicht erst im Nachgang per Test gefunden.
  • Bei Reparatur-Aufgaben an Encoding/Umlauten: keine Eigenbau-Skripte auf dem Quellbaum; stattdessen gezielte Edit-Aufrufe mit sichtbarer Diff-Kontrolle.

Umgebung: Windows 11, PowerShell-Projekt (UTF-8 mit BOM, LF), deutsche Dokumentation Pflicht.

extent analysis

TL;DR

Implement a pre-generation check to enforce the use of German umlauts (ä, ö, ü, ß) instead of replacement spellings (ae, oe, ue, ss) in the code.

Guidance

  • Review the code generation process to identify where the replacement spellings are being introduced and modify it to use the correct umlauts.
  • Consider using a linter or a code formatting tool that can automatically replace replacement spellings with umlauts.
  • When repairing encoding or umlaut issues, use targeted edit calls with visible diff control instead of custom scripts to avoid damaging the files.
  • Ensure that the Memory entries are properly configured to steer the token-wise text generation and prevent the repetition of the issue.

Example

No code snippet is provided as the issue does not contain specific code examples.

Notes

The issue seems to be related to the code generation process and the use of custom scripts for repairing encoding and umlaut issues. The solution should focus on modifying the code generation process and using targeted edit calls to avoid damaging the files.

Recommendation

Apply a workaround by implementing a pre-generation check to enforce the use of German umlauts, as the root cause of the issue is not clearly related to a specific version or upgrade. This approach will help to mitigate the issue until a more permanent solution can be found.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Claude Code ignoriert regelmäßig die Umlaut-Vorgabe aus CLAUDE.md und Auto-Memory und schreibt ae/oe/ue/ss statt ä/ö/ü/ß in Synopsis, Kommentare und Meldungen — trotz expliziter, mehrfach bestätigter Instruktion. [1 comments, 2 participants]