mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Move to the UTF-8 encoding.
This migration is necessary since Lua scripts sources use the UTF-8 encoding while the web browser sees the iso-8859-1 encoding, and this incongruence breaks the visualization of some non-ascii characters.
This commit is contained in:
parent
1c38df48c9
commit
979fbd74e9
5 changed files with 38 additions and 8 deletions
|
|
@ -104,7 +104,7 @@ end
|
|||
-- ##############################################
|
||||
|
||||
function sendHTTPContentTypeHeader(content_type, content_disposition, charset)
|
||||
local charset = charset or "iso-8859-1"
|
||||
local charset = charset or "utf-8"
|
||||
local mime = content_type.."; charset="..charset
|
||||
sendHTTPHeader(mime, content_disposition)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue