Index: ndb-work/sql/ha_ndbcluster_binlog.cc
===================================================================
--- ndb-work.orig/sql/ha_ndbcluster_binlog.cc	2007-06-08 15:08:31.516232250 +1000
+++ ndb-work/sql/ha_ndbcluster_binlog.cc	2007-06-08 15:09:35.192211750 +1000
@@ -3594,6 +3594,14 @@ pthread_handler_t ndb_binlog_thread_func
   thd->main_security_ctx.master_access= ~0;
   thd->main_security_ctx.priv_user= 0;
 
+  CHARSET_INFO *charset_connection;
+  charset_connection= get_charset_by_csname("utf8",
+                                            MY_CS_PRIMARY, MYF(MY_WME));
+  thd->variables.character_set_client= charset_connection;
+  thd->variables.character_set_results= charset_connection;
+  thd->variables.collation_connection= charset_connection;
+  thd->update_charset();
+
   /*
     Set up ndb binlog
   */
