diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/url_title.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/url_title.pm b/plugin/url_title.pm index c13104d..9d96410 100644 --- a/plugin/url_title.pm +++ b/plugin/url_title.pm @@ -6,6 +6,7 @@ use strict; use warnings; use HTTP::Tiny; use HTML::HeadParser; +use utf8; my %config; @@ -49,6 +50,7 @@ sub message # get title and unpack from utf8 (assumption) my $title = $parser->header("title"); + utf8::upgrade($title); return unless $title; my $shorturl = $url; |