Fixed problem with triggers if you changed to/from UTF-8 mode