Warp icon indicating copy to clipboard operation
Warp copied to clipboard

When previewing Chinese markdown, there is garbled text.

Open c4bbage opened this issue 5 months ago • 1 comments

Pre-submit Checks

Describe the bug

When previewing Chinese markdown, there is garbled text.

Image

To reproduce

  1. client markdown path in term
  2. preview markdown

Expected behavior

No response

Screenshots, videos, and logs

Image

Operating system (OS)

macOS

Operating system and version

15.5.0

Shell Version

No response

Current Warp version

v0.2025.05.28.08.11.stable_02

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

Is this an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

c4bbage avatar Jun 11 '25 01:06 c4bbage

Thanks for letting us know. Many users have resolved display and encoding issues by setting the locale to Chinese UTF-8 in their shell configuration files (such as .zshrc or .bashrc). Add the following lines:

export LC_ALL=zh_CN.UTF-8
export LANG=zh_CN.UTF-8

Let us know if that helps.

To anyone else facing this issue, please add a 👍 to the original post at the top or comment with your details, and subscribe if you'd like to be notified.

dannyneira avatar Jun 13 '25 20:06 dannyneira