Hello nysus,
Try to Encode the data before you store them. It should work. Sample of code:
#!/usr/bin/env perl use Encode; use strict; use warnings; print encode_utf8("<p>What\x{2019}s up with the water ??</p>"), $/; __END__ $ perl test.pl <p>What’s up with the water ??</p>
Hope this helps, BR
In reply to Re: Storing UTF-8 data into database from scraped web page
by thanos1983
in thread SOLVED: Storing UTF-8 data into database from scraped web page
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |