Found the answer here:

http://www.mail-archive.com/dbi-user.../msg23404.html

It is a problem with the internal UTF8 flag setting.