Work around database encoding issue
Tell our database connection to assume that fields are encoded as latin1
rather than utf8 to work around the current mismatch of expectations
from MySQL, python, and PHP for the tools_p database. This is a bandaid
that will need to be fixed properly at some point.