FuncCommand: use uri_escape_utf8 instead

This commit is contained in:
Pragmatic Software 2019-08-25 14:45:21 -07:00
parent 198a7d6c5b
commit 60cf77d538
1 changed files with 2 additions and 2 deletions

View File

@ -156,12 +156,12 @@ sub func_unquote {
return $text; return $text;
} }
use URI::Escape qw/uri_escape/; use URI::Escape qw/uri_escape_utf8/;
sub func_uri_escape { sub func_uri_escape {
my $self = shift; my $self = shift;
my $text = "@_"; my $text = "@_";
return uri_escape($text); return uri_escape_utf8($text);
} }
# near-verbatim insertion of krok's `sed` factoid # near-verbatim insertion of krok's `sed` factoid