in reply to How to Remove Junk Characters

I took out your $ua->proxy line and your code runs fine. The out.html has no corruption. I'm on linux using Mozilla.

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^2: How to Remove Junk Characters
by wfsp (Abbot) on Jan 05, 2006 at 13:51 UTC
    He may mean this
    <title>....Dr. Börries.....</title>
    It should, of course, be "Börries"
    I tried
    binmode(STDOUT, ':utf8');
    with no success. Any idea what's happening?

    wfsp

    update:
    see below

      This works:
      use Unicode::String qw(utf8); #.... print utf8($file_cnt);


      holli, /regexed monk/