I changed the lines in the 2 scripts above to utf-8, and the characters are still messed up. I would think that means I have to convert the content in the database to UTF-8.
Have tried this before by dumping the database in Text Wrangler, converting to UTF-8, then importing. Causes SQL errors.
If the apps are not in UTF-8 then it will cause character encoding problems.