diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-03 22:14:52 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-03 22:14:52 +0000 |
commit | af029154d6b145302f8ece0286711f61ea606877 (patch) | |
tree | dd5f768ba8cc1ab7a345038ab4d24fac4bc8d056 /IkiWiki/CGI.pm | |
parent | 6551c1e5609967c0c7f947fa0e9d85d24e454d37 (diff) | |
download | ikiwiki-af029154d6b145302f8ece0286711f61ea606877.tar ikiwiki-af029154d6b145302f8ece0286711f61ea606877.tar.gz |
use "use open" pragma to avoid manually needing to specify utf8 everywhere
and also to set default stdio mode
change filetype to return undef, not "unknown"
Diffstat (limited to 'IkiWiki/CGI.pm')
-rw-r--r-- | IkiWiki/CGI.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index 73afe2468..5e7f77171 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -4,7 +4,7 @@ use warnings; use strict; use IkiWiki; use IkiWiki::UserInfo; -use encoding 'utf8'; # force use of utf8 for io layer +use open qw{:utf8 :std}; use Encode; package IkiWiki; |