* Fixed a bug that caused the incorrect character set to be used when opening a DB connection. * Added a 'db_charset_test' test harness.