Thanks amberwolf.
It sounds like the database was migrated to another server, probably with different compilation or config options. There is a MySQL config option called backslash escaping which could do this. Different quote escaping in the prior server's SQL dump could cause a bad hair day...