Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Change encoding of a string from utf8 to iso-8859-2by bucz (Novice) |
on Mar 04, 2010 at 08:00 UTC ( [id://826644]=perlquestion: print w/replies, xml ) | Need Help?? |
bucz has asked for the wisdom of the Perl Monks concerning the following question:
Great monks!
I have a following problem: I fetch some websites, get some information and display it. Some of those pages are in iso-8859-2 , some in utf8. I want to convert them all into iso-8859-2 or utf8, so I can display them properly in the same html document. Question: hos to change pages' encoding?
I tried to use
use Encoding
but I did not manage to apply it well :/
Back to
Seekers of Perl Wisdom
|
|