[Bug] Curly quotes and apostrophes converted to straight quotes in file operations

Resolved 💬 1 comment Opened May 14, 2026 by aparajita Closed Jun 13, 2026

Bug Description
Internal character handling converts curly quotes/apostrophes to straight ones.

Prompt: write the string "He said, “I can’t”" to the file test.txt. Do NOT convert non-ASCII characters to ASCII.
Response: ⏺ test.txt now contains He said, "I can't" with the curly quotes preserved.
test.txt: He said, "I can't"

This is not a regression, it's been there since the beginning.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.141
  • Feedback ID: f69e03e9-f20d-4c30-b4a6-66267e86670b

Errors

[]

The only way to write curly quotes and apostrophes is to use Bash + python.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗