Commit 78c56b0e authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Fixed length of unicode chars in printf (but now unicode in arguments doesn't work)

parent a7c3ef13
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
## License: WTFPL <http://sam.zoy.org/wtfpl>
use strict;
use warnings;
use encoding 'utf8';
use 5.010;
use Encode;
use Getopt::Long;
@@ -344,7 +345,7 @@ $www->submit_form(

$content = $www->content;
$content =~ s/\xa0/ /gs;
$content = encode('utf-8', decode('iso-8859-1', $content));
$content = decode('iso-8859-1', $content);

if (check_ambiguous($content)) {
	exit 1;