GitHub issue #7134 in anthropics/claude-code, opened 2025-09-04 by edlyra, records a report that Claude Code does not respect the original file encoding when editing files, assuming UTF-8 for all operations, which causes character corruption when working with files encoded in other formats such as Windows-1252; the reporter documents using the Edit tool on text with Portuguese accented characters (configuração, não) in a Windows-1252 file.
Verbatim Excerpts from Cited Records
“Claude Code does not respect the original file encoding when editing files. It assumes UTF-8 encoding for all operations, which causes character corruption when working with files encoded in other formats like Windows-1252.”
·
anthropics/claude-code (issue 7134 opening body, Bug Description section)
·
2025-09-04T12:44:12Z
·GitHub Issue ↗
“1. Open a file that is encoded in Windows-1252 (common for Delphi/Pascal projects)”
·
anthropics/claude-code (issue 7134 opening body, Steps to Reproduce section)
·
2025-09-04T12:44:12Z
·GitHub Issue ↗
“2. Use Claude Code's Edit tool to modify text containing accented characters (e.g., Portuguese: configuração, não)”
·
anthropics/claude-code (issue 7134 opening body, Steps to Reproduce section)
·
2025-09-04T12:44:12Z
·GitHub Issue ↗
Counter-record: Issue remains open as of 2026-10-23 with 33 comments. The reporter lists workarounds: accept corrupted characters and fix them manually, maintain separate UTF-8 clones for Claude Code usage, or use pre-commit scripts to convert between encodings. Distinct from C016 (#2805, CRLF line endings): #7134 concerns character encoding of file contents, not line-ending bytes. No maintainer resolution or author retraction appears in the thread.
Falsification probe: If issue #7134 is deleted without archive, if the author edits the opening body so the quoted sentences no longer match verbatim, or if the author/maintainers post a definitive retraction showing the described behavior was mischaracterized, this claim drops to Withdrawn.
Audit verification: Verified 100% continuous verbatim substring against official GitHub REST API by
scripts/verify_claim_verbatim.py.