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:
cflakes
2010-01-18 19:52:16 +00:00
parent 278e8e9464
commit 44661c2d31
5 changed files with 16 additions and 127 deletions
+1 -1
View File
@@ -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>