[BUG] Claude Code Intellij plugin showing UTF-8 BOM markers in diffs
Resolved 💬 5 comments Opened Jul 1, 2025 by kornysietsma Closed Dec 26, 2025
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [x] Other: Claude Code
- Claude CLI version: 1.0.38
- Operating System: MacOS 15.5
- Terminal: Intellij Rider internal terminal
Bug Description
If you have BOM markers at the top of code files (due to sharing code with Windows users)
when Claude shows a diff in the GUI it shows the first line of the file as changed, every time.
The left "Original" side shows a file with type UTF-8 BOM and no changes
The right "Proposed" side shows a file with type UTF-8 and a change adding ZWNBSP to the first character.
Applying the change doesn't change the BOM marker - but this makes the GUI diff hard to use as it always scrolls to the top of the code even if the changes are much further down.
Additional Context
Screenshot:
!Image
<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗