in reply to Re^6: UTF8 issue when getting website via LWP::UserAgent in Perl
in thread UTF8 issue when getting website via LWP::UserAgent in Perl
GOT TITLE BEFORE: Румыния не будет участвовать в Евровидении-2016 из-за денег - Газета.Ruprint "GOT TITLE BEFORE: $title \n<Br><Br>"; $DB->table("ReadingGrabCache")->add( { title => $title, url => + "Foo" }); my $test = $DB->table("ReadingGrabCache")->select ( { url => " +Foo" })->fetchrow_hashref; print "BEFORE RE-ENCODING: $test->{title} \n<br>"; $test->{title} = decode("utf-8",$test->{title}); print "AFTER RE-ENCODING: $test->{title} \n<br>";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: UTF8 issue when getting website via LWP::UserAgent in Perl
by Anonymous Monk on May 12, 2016 at 15:37 UTC | |
by ultranerds (Hermit) on May 12, 2016 at 15:53 UTC | |
by hippo (Archbishop) on May 12, 2016 at 16:12 UTC | |
by ultranerds (Hermit) on May 12, 2016 at 16:20 UTC |