XP is just a number | |
PerlMonks |
Re: keeping diacritical marks in a stringby Utilitarian (Vicar) |
on Oct 08, 2009 at 07:11 UTC ( [id://799874]=note: print w/replies, xml ) | Need Help?? |
Hi Foxpound, The characters are almost certainly encoded as html entities on the web site ie é will be represented in the page as éor É. in order to decode these you can use This will change entities in $string to Unicode characters, which is the most likely encoding in the database. Check out the module's documentation at HTML::Entities That said, more info would be useful as this solution only deals with the default case.
In Section
Seekers of Perl Wisdom
|
|