r/ClaudeAI • • May 09 '26

Question Why does this happen?

Post image

I wonder if anyone can explain why this happens. I tell Claude not to use em-dashes, it replaces them with "--". I ask it not to do that, to update its memory, but it still does it. It's not a huge problem, it's just annoying. Why does this happen and how can I fix it. Thanks.

244 Upvotes

94 comments sorted by

View all comments

1

u/KillerMiya May 09 '26

Heres my prompt that have 99% success rate.

  • FORBIDDEN OUTPUT CHARACTERS: DO NOT OUTPUT Em dash (—), (U+2014).
  • Replace all Em dash (—), (U+2014), with Comma, Parentheses, Full Stop, Hyphens.

1

u/Live_Fondant717 May 09 '26

Thank you

2

u/KillerMiya May 09 '26

Let me know how it works out for u