mirror of
https://github.com/znc/znc.git
synced 2026-07-21 09:03:32 +02:00
Following the bug report at [1] and a short discussion on IRC, this changes webadmin HTML pages' default charset to UTF-8. Since we do not have a routine that detects an input's charset or even converts it to UTF-8, this will cause ISO-8859-1(1) or other non UTF-8 encoded inputs that have been set e.g. as module arguments from IRC or from a non-UTF-8 shell console to show up garbled in webadmin. A possible fix would be to convert strings to UTF-8 before inserting them into the templates. We'll see what the future holds.
[1] http://sourceforge.net/tracker/index.php?func=detail&aid=2933280&group_id=115828&atid=672821 git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1716 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<title>ZNC - Webadmin module - <?VAR Title ESC=HTML?></title>
|
||||
<link rel="stylesheet" type="text/css" href="<?VAR Skin ESC=URL?>/main.css">
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user