Chinese/Korean Text has bugged text "��" everywhere after the composer applied the change

Hi, thanks for reporting an issue with Cursor.

Before you report this, we’d appreciate if you can search this forum to see if this issue has already been reported.

If you have done so, please check this box.
on

Describe the Bug

I m using Cursor to write noval and planning for my Scifi game project. I noticed this problem is killing my workflow and it is so frustrating!
I searched on this forum several times and there hundreds of people like me are having this issue as well.
The bug is that Cursor will always tend to generated garbled text like “��” and mixed them randomly in your file

I used to believe that Claude was behind all this, but today I just found out it isn’t! Bugged text only appears on cursor encoder trying to overwrite AI content and paste back to your original file!
Today I finally understand where is the problem, I always thought it Claude 3.5 sonnet caused this AI generated Chinese text problem. But it turns out it isn’t!
Just like this dude said When using Chinese, the Gemini series models are garbled in the Cursor - #18 by EarlyBedEarlyUp
The problem occurs after I clicked apply or Composer automatically applied the change, then Cursor will cause the garbled text!

Steps to Reproduce

  1. Import any chinese document as markdown file in cursor workplace
  2. ask AI to change only small section of paragraph in composer, agent mode
  3. You can inspect the AI generated result from AI, it has no garbled bugged text “��”, after a while, your markdown will display changed area with green highlight, you will see hundreds of garbled text “��” in unrelated section!

Remember, you only ask AI to change first paragraph of that article
BUT, Cursor encoder will somehow trying to filter ALL of your current file text and trying to swap the part that is newly generated, and THIS IS the process caused TROUBLE!!! Many unrelated section paragraph including text are exchanged to garbled bugged text during this process!!!

Expected Behavior

No Garbled text please! it has been 3 months

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 0.44.8
VSCode Version: 1.93.1
Commit: f3b5a63019e4e2283033b4db987a35f8413c7570
Date: 2024-12-22T05:48:08.427Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.19045

Additional Information

a loooong time since the problem initial occurs according to many chinese users

Does this stop you from using Cursor

No - Cursor works, but with this issue

This problem has been raised by me last month.

1 Like

yeah it wierd that still no response, … and apparently no one brought this matter to the emergency fix to-do list yet… I m on Yearly subscription and feels sad man

Hey, we may have a fix for this on our backend, but if anyone facing this could try it out now, that’d be amazing. You may have to start a new chat session to get things started fresh, but try it in an existing chat/composer first and let me know!

1 Like