# Bug Report: Character Encoding Issue in Cursor CLI

**URL:** <https://forum.cursor.com/t/bug-report-character-encoding-issue-in-cursor-cli/170156>\
**Category:** Bug Reports\
**Tags:** cli\
**Created:** [September 1, 2026, 2:54am UTC](https://forum.cursor.com/t/bug-report-character-encoding-issue-in-cursor-cli/170156 "2026-09-01T02:54:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Fujiang](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/kevin_fujiang/32/119402_2.png) [@Kevin\_Fujiang](https://forum.cursor.com/u/Kevin_Fujiang)\
**Post date:** [September 1, 2026, 2:54am UTC](https://forum.cursor.com/t/bug-report-character-encoding-issue-in-cursor-cli/170156/1 "2026-09-01T02:54:53Z")

</div>

### Where does the bug appear (feature/product)?

Cursor CLI

### Describe the Bug

When pasting a paragraph of Chinese text containing approximately 100 Chinese characters into the CLI, there is a high probability that character corruption (��) will occur.

### Steps to Reproduce

1. Copy the following text to your clipboard: 「对公付款申请流程」 必须有发票, 这个流程, 就只能是“充值” 行为的流程. 之前里面有“冲销”的逻辑, 就没有用了.
2. Open cursor-agent in the terminal and paste the clipboard content.
3. One or more garbled characters (�) will appear in the cursor-agent output, for example:  
「对公付款申请流程」 必须有发票, 这个流��, 就只能是“充值” 行为的流程. 之前里面有“冲销”的逻辑, 就没有用了

### Operating System

MacOS

### Version Information

Cursor Agent  
v2026.08.11-e8db854

### For AI issues: which model did you use?

Auto

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [September 1, 2026, 8:40am UTC](https://forum.cursor.com/t/bug-report-character-encoding-issue-in-cursor-cli/170156/5 "2026-09-01T08:40:30Z")

</div>

Hi @Kevin_Fujiang!

I’ve tried to reproduce this but haven’t been able to.

 ![Screenshot 2026-09-01 at 10.40.02](https://us1.discourse-cdn.com/cursor1/original/3X/4/7/4767ccee11414e3971788f34c5d86d5c89423519.webp)

Could you run `agent upgrade` to make sure you’re on the latest version of the CLI? It looks like you might be a few versions behind (the latest stable in 2026.08.31)

---

<div class="post-metadata">

**Author:** ![Kevin\_Fujiang](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/kevin_fujiang/32/119402_2.png) [@Kevin\_Fujiang](https://forum.cursor.com/u/Kevin_Fujiang)\
**Post date:** [September 2, 2026, 2:41am UTC](https://forum.cursor.com/t/bug-report-character-encoding-issue-in-cursor-cli/170156/7 "2026-09-02T02:41:42Z")

</div>

![Screenshot_2026-09-02_10-38-38](https://us1.discourse-cdn.com/cursor1/original/3X/8/a/8a061dfcab12a92a4aa28ef29b2ad09e85bb1a8a.png)  
After executing agent upgrade, execute the agent again and paste the content into the CLI. The issue still persists.

MacOS: 26.6.2 (25G83)

---

<div class="post-metadata">

**Author:** ![Kevin\_Fujiang](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/kevin_fujiang/32/119402_2.png) [@Kevin\_Fujiang](https://forum.cursor.com/u/Kevin_Fujiang)\
**Post date:** [September 2, 2026, 2:51am UTC](https://forum.cursor.com/t/bug-report-character-encoding-issue-in-cursor-cli/170156/8 "2026-09-02T02:51:35Z")

</div>

![Screenshot_2026-09-02_10-47-40](https://us1.discourse-cdn.com/cursor1/original/3X/2/7/278b92b37ea4b4a55e188eead0e0bc4a8a50e175.jpeg)

Pasting content from TextEdit or Sublime Text into the agent CLI often causes random garbled characters in unpredictable positions.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [September 2, 2026, 8:54am UTC](https://forum.cursor.com/t/bug-report-character-encoding-issue-in-cursor-cli/170156/9 "2026-09-02T08:54:17Z")

</div>

Does it reproduce in the regular macOS terminal (not Ghostty)?

---

<div class="post-metadata">

**Author:** ![Kevin\_Fujiang](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/kevin_fujiang/32/119402_2.png) [@Kevin\_Fujiang](https://forum.cursor.com/u/Kevin_Fujiang)\
**Post date:** [September 3, 2026, 1:47am UTC](https://forum.cursor.com/t/bug-report-character-encoding-issue-in-cursor-cli/170156/10 "2026-09-03T01:47:56Z")

</div>

**It works fine in the Apple Terminal, so it should be a bug in Ghostty.**

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [September 5, 2026, 1:47am UTC](https://forum.cursor.com/t/bug-report-character-encoding-issue-in-cursor-cli/170156/11 "2026-09-05T01:47:57Z")

</div>

Closed on September 5, 2026, 1:47am UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
