I found the script I mentioned. The author is Scott Hanson <shanson@mail.hh.provi.de> . The title of the posting was: Yet another Mac2ISO character converter The statement is not a "tr" but an "s": s/[\x80-\xff]/$trans[ord($&)-(128)]/ge ;