in reply to Re: Storing UTF-8 data into database from scraped web page
in thread SOLVED: Storing UTF-8 data into database from scraped web page

Looks like things were obfuscated a bit by Dumper. So the web page is in UTF-8 and the apostrophe is created by &#x2019 on the web page.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

Replies are listed 'Best First'.
Re^3: Storing UTF-8 data into database from scraped web page
by thanos1983 (Parson) on Jun 15, 2018 at 09:57 UTC

    Hello nysus,

    Did you see the updated sample of code? This did not worked for you?

    I just run one more last test with HTML::Entities module and both cases either including the HTML entity or the the code tag worked.

    See sample of code:

    BR / Thanos

    Seeking for Perl wisdom...on the process of learning...not there...yet!