[FS#3554] uhttpd non-English directory displays garbled characters
openwrt-bugs at lists.openwrt.org
Sat Jan 2 01:41:00 EST 2021
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - flynaj (flynaj)
Attached to Project - OpenWrt/LEDE Project
Summary - uhttpd non-English directory displays garbled characters
Task Type - Bug Report
Category - Packages
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - 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!
More information can be found at the following URL:
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the openwrt-bugs