note kcott <p> Thanks for your complimentary remarks &mdash; they are appreciated. </p> <p> <c>piconv</c> does use [|Encode]. It's also relatively short: if you ignore the option handling, POD, etc., you're left with probably less than 100 lines of code. So, if you wanted to use that as a starting point to roll your own version, I don't imagine it would be an overwhelmingly difficult task. However, having said that, if this is just a one-off exercise, perhaps something along these lines would suffice: </p> <code> $ for i in latin/*.html; do > piconv -f ISO-8859-1 -t utf8 $i | \ > perl -pe 's/((?>charset|encoding)=)iso-8859-1/${1}utf-8/gi' - \ > > utf8/`basename $i` > done </code> <!-- Node text goes above. Div tags should contain sig only --> <div class="pmsig"><div class="pmsig-861371"> <p>-- Ken</p> </div></div> 1037259 1037466