Upgrade utf8 content from a latin1 store to a UTF8 store
When upgrading to ruby 1.9.3 I noticed that the behaviour of interpreting characters from mysql tables has changes. This is due to the character encoding behaviour differing from 1.8.7.
The symptoms being strange characters appear in your content fetched from the db.
Often in ubuntu mysql server installs the default is latin1 when rails stored everything in utf8. In some cases (like mine) you end up having utf8 data stored in a latin1 table.
Dirty conversion script follows.