[UPDATE]
Note: This script should now work with all versions of MODx, though it hasn’t been tested on every version.
I’ve created a generic script that runs outside of MODx to convert a database from one character set/collation to another. By default, it converts Latin1 to UTF-8/utf8_general_ci, but can be used to convert to any charset/collation. It’s called cdc.php (for Convert Database Charset).
Instructions for MODx (and other CMS) conversion are in the readme.txt file.
http://bobsguides.com/convert-db-utf8.html
Note that the script should not be run as a snippet, but rather as a stand-alone script. The script doesn’t change your database, it simply creates an SQL query that you can paste into the SQL window in PhpMyAdmin to do the conversion. If you choose to modify your actual MODx database in place (after backing it up, of course), be sure your MODx site is offline (e.g. by renaming the root index.php temporarily) when you do the actual conversion. You’ll have to edit the manager/includes/config.inc.php file to use the new charset (e.g. ’utf8’).
I’m looking for some bold testers to make sure it works. I recently converted Bob’s Guides from Latin1 to UTF-8 with it and, so far, all seems well. I advise creating a new database for the converted db and switching MODx to use the new db and its character set. That way, you can always switch back to the original db if things go wrong.
I await your feedback.