aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-06-17 02:15:00 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-06-17 02:15:00 +0000
commit4d460d1f8250ac632cdec799dec80ca4e0460eeb (patch)
tree043697114431dc65f242fe0c249253b9234b065c
parentf5eb3df1fab53ed6fe1359a8d6a339a321626db8 (diff)
downloadikiwiki-4d460d1f8250ac632cdec799dec80ca4e0460eeb.tar
ikiwiki-4d460d1f8250ac632cdec799dec80ca4e0460eeb.tar.gz
- Add 'use encoding "utf8"' to CGI.pm to avoid warnings about wide
character in print.
-rw-r--r--IkiWiki/CGI.pm1
-rw-r--r--debian/changelog2
2 files changed, 3 insertions, 0 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index 9d2ad8cdd..30af53586 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -4,6 +4,7 @@ use warnings;
use strict;
use IkiWiki;
use IkiWiki::UserInfo;
+use encoding 'utf8'; # force use of utf8 for io layer
package IkiWiki;
diff --git a/debian/changelog b/debian/changelog
index a6312dc66..8696f3ccf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,8 @@ ikiwiki (1.6) UNRELEASED; urgency=low
- Comment field in edit page is not decoded and all the non-ascii chars in
this field are corrupted as the result. We should decode it as we do it
for the content.
+ - Add 'use encoding "utf8"' to CGI.pm to avoid warnings about wide
+ character in print.
-- Joey Hess <joeyh@debian.org> Fri, 16 Jun 2006 21:35:03 -0400