mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-27 05:02:34 +01:00
FuncCommand: use uri_escape_utf8 instead
This commit is contained in:
parent
198a7d6c5b
commit
60cf77d538
@ -156,12 +156,12 @@ sub func_unquote {
|
||||
return $text;
|
||||
}
|
||||
|
||||
use URI::Escape qw/uri_escape/;
|
||||
use URI::Escape qw/uri_escape_utf8/;
|
||||
|
||||
sub func_uri_escape {
|
||||
my $self = shift;
|
||||
my $text = "@_";
|
||||
return uri_escape($text);
|
||||
return uri_escape_utf8($text);
|
||||
}
|
||||
|
||||
# near-verbatim insertion of krok's `sed` factoid
|
||||
|
Loading…
Reference in New Issue
Block a user