Skip to content
This repository was archived by the owner on May 7, 2020. It is now read-only.

Commit 5240dda

Browse files
committed
Fixed unicode support
1 parent f3762bd commit 5240dda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mpc.hc.np.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
}
3636
else { # Report back if it's right
3737
# Get results into variable
38-
my $mpchcnp = $response->content;
38+
my $mpchcnp = $response->decoded_content;
3939
$mpchcnp =~ s{.+<p id="mpchc_np">(.+?)</p>.+}{$1}s; # Extract np text from the html
4040
# Remove whitespace at beginning and end of string and replace entities
4141
$mpchcnp =~ s/^\s+|\s+$//g;

0 commit comments

Comments
 (0)