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

Windows visit Chinese filename not found #491

Open
qicosmos opened this issue Jan 16, 2024 · 4 comments
Open

Windows visit Chinese filename not found #491

qicosmos opened this issue Jan 16, 2024 · 4 comments

Comments

@qicosmos
Copy link
Owner

qicosmos commented Jan 16, 2024

download a file with Chinese filename by static file server, will return not found on Windows, Linux is ok.

http://127.0.0.1:9001/中文测试.txt 
@osabc
Copy link

osabc commented Dec 9, 2024

urldecode 后,相关path文件操作不要用 std::string 类型而是用 std::filesystem::path 就可以了

@qicosmos
Copy link
Owner Author

qicosmos commented Dec 9, 2024

噢?有代码吗?

@qicosmos
Copy link
Owner Author

qicosmos commented Dec 9, 2024

或者你提个pr?

@osabc
Copy link

osabc commented Dec 9, 2024

#667

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants