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

FS#3554 - uhttpd non-English directory displays garbled characters #8578

Open
openwrt-bot opened this issue Jan 2, 2021 · 0 comments
Open
Labels
core packages pull request/issue for core (in-tree) packages flyspray

Comments

@openwrt-bot
Copy link

flynaj:

uhttpd non-English directory displays garbled characters。

Modify uh_file_dirlist function

ustream_printf(cl->us, "Content-Type: text/html\r\n\r\n");

ustream_printf(cl->us, "Content-Type: text/html; charset=utf-8\r\n\r\n");

This way all languages can be displayed perfectly!

@aparcar aparcar added the core packages pull request/issue for core (in-tree) packages label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core packages pull request/issue for core (in-tree) packages flyspray
Projects
None yet
Development

No branches or pull requests

2 participants