I'm getting the following error on most of my regexps when using XML::Simple to read a few configuration parameters into my script. ----------- Malformed UTF-8 character (unexpected continuation byte 0x97) in substitution iterator at ./regexp_xml.pl line 91, <PARSE> line 2. ----------- Here's one of the regexps that is throwing the error: $parse =~ s#<img(.*?)alt(.*?)>#<img$1alt=""$2>#sig; (finds 'alt' and replaces with 'alt=""' in <img> tags) Any ideas what is causing this? When I remove the use of XML::Simple and define the configuration variables in the script, the programs runs without any errors. ===== -- Anthony E. AP Web Design __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/