[Bug] UTF-8 character handling in write and edit tools with curly apostrophes
Resolved 💬 3 comments Opened Jan 8, 2026 by ArtKoKo Closed Jan 12, 2026
Bug Description
Multiple Bugs with utf-8 characters with write and edit tools particularly with cutly apostrophes
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.1
- Feedback ID: cb5f8309-6c2c-4f91-bf2f-95f067b0c3b0
Errors
[{"error":"Error\n at eP (/$bunfs/root/claude:59:1144)\n at <anonymous> (/$bunfs/root/claude:60:10098)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:861:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/claude:62:2149)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-08T09:37:21.357Z"},{"error":"Error\n at <anonymous> (/$bunfs/root/claude:60:10686)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/claude:59:5641)\n at request (/$bunfs/root/claude:62:2149)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-08T09:37:29.863Z"},{"error":"MaxFileReadTokenExceededError: File content (26599 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at xw_ (/$bunfs/root/claude:1615:12988)\n at async call (/$bunfs/root/claude:1624:1005)\n at async <anonymous> (/$bunfs/root/claude:2055:1505)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-08T13:34:32.532Z"},{"error":"MaxFileReadTokenExceededError: File content (26473 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n at xw_ (/$bunfs/root/claude:1615:12988)\n at async call (/$bunfs/root/claude:1624:1005)\n at async <anonymous> (/$bunfs/root/claude:2055:1505)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-08T13:40:40.726Z"},{"error":"Error: Request was aborted.\n at _createMessage (/$bunfs/root/claude:446:3157)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-08T13:46:26.058Z"},{"error":"Error: Request was aborted.\n at _createMessage (/$bunfs/root/claude:446:3157)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-01-08T14:16:28.390Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗