From: joey Date: Sat, 17 Jun 2006 02:15:00 +0000 (+0000) Subject: - Add 'use encoding "utf8"' to CGI.pm to avoid warnings about wide X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/4d460d1f8250ac632cdec799dec80ca4e0460eeb?ds=sidebyside - Add 'use encoding "utf8"' to CGI.pm to avoid warnings about wide character in print. --- 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 Fri, 16 Jun 2006 21:35:03 -0400