init project bug.. #4148

Closed
opened 2026-02-16 17:42:48 -05:00 by yindo · 5 comments
Owner

Originally created by @Y-ASLant on GitHub (Jan 4, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Image

/init 时出现未知符号,100%触发,claude code、gemini都正常

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @Y-ASLant on GitHub (Jan 4, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description <img width="1802" height="984" alt="Image" src="https://github.com/user-attachments/assets/4565bc37-8b3d-46d1-be61-fb7c4736fbe3" /> /init 时出现未知符号,100%触发,claude code、gemini都正常 ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 17:42:48 -05:00
yindo closed this issue 2026-02-16 17:42:48 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 4, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #5926: Windows version error when opening project folder with Chinese characters
  • #6610: TypeError with non ISO-8859-1 code point on Windows 11
  • #3814: Strange characters appear between Chinese characters in opentui
  • #6178: Similar ISO-8859-1 encoding error on Windows 11
  • #3147: Can't create AGENTS.md with /init

The issue appears to be related to character encoding problems when running /init with non-ASCII characters. Feel free to ignore if your specific case is different.

@github-actions[bot] commented on GitHub (Jan 4, 2026): This issue might be a duplicate of existing issues. Please check: - #5926: Windows version error when opening project folder with Chinese characters - #6610: TypeError with non ISO-8859-1 code point on Windows 11 - #3814: Strange characters appear between Chinese characters in opentui - #6178: Similar ISO-8859-1 encoding error on Windows 11 - #3147: Can't create AGENTS.md with /init The issue appears to be related to character encoding problems when running `/init` with non-ASCII characters. Feel free to ignore if your specific case is different.
Author
Owner

@chwdy commented on GitHub (Jan 4, 2026):

it's probably the model generated these random characters, what if you try a different model

@chwdy commented on GitHub (Jan 4, 2026): it's probably the model generated these random characters, what if you try a different model
Author
Owner

@rekram1-node commented on GitHub (Jan 4, 2026):

Wow wtf, can u share this session?

@rekram1-node commented on GitHub (Jan 4, 2026): Wow wtf, can u share this session?
Author
Owner

@Y-ASLant commented on GitHub (Jan 4, 2026):

it's probably the model generated these random characters, what if you try a different model

不,不是模型的问题,我找到问题了,是工具的问题。因为我不执行/think时 就会出现这种奇怪的符号,当我执行/think后再执行其他命令就一切正常了

Image
@Y-ASLant commented on GitHub (Jan 4, 2026): > it's probably the model generated these random characters, what if you try a different model 不,不是模型的问题,我找到问题了,是工具的问题。因为我不执行/think时 就会出现这种奇怪的符号,当我执行/think后再执行其他命令就一切正常了 <img width="1798" height="980" alt="Image" src="https://github.com/user-attachments/assets/630c66ff-cf11-427a-89fa-b8b757841ade" />
Author
Owner

@Y-ASLant commented on GitHub (Jan 4, 2026):

Wow wtf, can u share this session?

开启/think 一切就正常了

@Y-ASLant commented on GitHub (Jan 4, 2026): > Wow wtf, can u share this session? 开启/think 一切就正常了
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4148