Problem (one or two sentences)
Currency symbols (R$, US$, CA$, etc.) in chat messages cause text corruption. Any text between two $ symbols is incorrectly interpreted as LaTeX math, resulting in garbled characters.
Context (who is affected and when)
Anyone typing financial information, prices, or currency amounts in their native language. Particularly affects users in Brazil (R$), USA (US$), Canada (CA$), Australia (A$), and other countries using $ in currency notation. Happens whenever two or more currency symbols appear in the same message.
Reproduction steps
- Open Roo Code chat
- Type a message with currency:
The cost is R$ 35 and the fee is US$ 50
- Send the message
- Observe the rendered text (specially in long messages, it will break and not render $)
Expected result
Text renders normally: "The cost is R$ 35 and the fee is US$ 50"
Actual result
Text between the two $ symbols is corrupted with broken encoding: "The cost is R 35andthefeeis U S$ 50" (characters mangled, accents broken)
Variations tried (optional)
No response
App Version
3.5.0
API Provider (optional)
Not Applicable / Other
Model Used (optional)
No response
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)