Cannot open file links with Chinese characters in the file path【包含中文路径的文件链接无法打开】

Resolved 💬 2 comments Opened Mar 25, 2026 by u679c Closed Jun 22, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the Codex App are you using (From “About Codex” dialog)?

26.323.20928 (1173)

What subscription do you have?

chatgpt plus

What platform is your computer?

Darwin 25.3.0 arm64 arm

What issue are you seeing?

In the recent versions (around the past 1–2 months), when Codex provides file links, if the file path contains Chinese characters, the link often fails to open or opens an incorrect file.

---
最近一两个月的版本中在codex给我文件链接的时候因为路径中包含中文字符会导致链接无法打开,或打开错误的链接,这个问题困扰已久,但是在很久之前的版本中很少会出现这种情况

<img width="481" height="139" alt="Image" src="https://github.com/user-attachments/assets/e0af0f9f-1b9a-4079-90ed-f5646f6c5702" />

What steps can reproduce the bug?

This issue is consistently triggered whenever a file path contains Chinese characters and I ask Codex to locate a function, reference code, or provide a clickable file link.

---
只要文件路径中包含中文字符并向codex询问某些功能位置或需要其提供文件链接时就会触发

What is the expected behavior?

It should not create a new file with URL-encoded Chinese characters in the path (e.g., %E7%XX%XX) and open that instead.

---
应该正常打开已有的文件,而不是新建一个包含编码后中文字符的文件并打开

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 5 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #15499
  • #14079
  • #14265

Powered by Codex Action

u679c · 5 months ago
Potential duplicates detected. Please review them and close your issue if it is a duplicate.检测到可能重复的问题。请核实并关闭您的问题。 Bug: Markdown local file links render percent-encoded non-ASCII paths in transcript output #15499 Codex Windows App Renders Local File Paths Incorrectly, Breaking File and Folder Links #14079 * Clicking local file links with spaces opens a blank file in VS Code instead of the actual file #14265 _Powered by Codex Action由 Codex Action 提供支持_

No that’s not the same issue.