in reply to UTF-8 from a CGI script

Thank you to everyone for the help on the issue. This was great. In my case Errto's pointing out the situation with STDOUT solved the issue but all the information will be helpful as I proceed. You guys rock.