Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chinese markdown file name not work. #2462

Closed
waterchinap opened this issue Oct 19, 2023 · 4 comments
Closed

Chinese markdown file name not work. #2462

waterchinap opened this issue Oct 19, 2023 · 4 comments
Labels
duplicate This issue or pull request already exists upstream

Comments

@waterchinap
Copy link

I put markdown files with Chinese filename in pages folder:

  1. the sidebar is working, and show the Chinese link correct.
  2. click the link with Chinese filenames, the page shows ' 404 not found'.
  3. change the markdown filename to English, everything is working fine.

Is there anything I can do to fix it?

Thanks
image

@dimaMachina
Copy link
Collaborator

#983 (comment)

@dimaMachina dimaMachina closed this as not planned Won't fix, can't repro, duplicate, stale Oct 19, 2023
@dimaMachina dimaMachina added duplicate This issue or pull request already exists upstream labels Oct 19, 2023
@waterchinap
Copy link
Author

Thanks!
For those have the same trouble:
Nextra fails parse markdow files with chinese filename in local dev mode, however, it works just fine if you deploy it to vacel.
There should be a way config something in runing dev?

中文文件名在本地开发模式显示404,但如果发布到vacel,也许其他平台,会正常显示。真的是很奇怪的问题。

@dimaMachina
Copy link
Collaborator

It fails with which error?

@dimaMachina dimaMachina reopened this Oct 20, 2023
@waterchinap
Copy link
Author

fails with a 404 not found. only in npm run dev.
but it is good when it is deployed. very strange.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists upstream
Projects
None yet
Development

No branches or pull requests

2 participants