diff -ru DBD-mysql-2.9003/dbdimp.c DBD-mysql-2.9003-my/dbdimp.c --- DBD-mysql-2.9003/dbdimp.c 2003-10-17 21:20:50.000000000 +0400 +++ DBD-mysql-2.9003-my/dbdimp.c 2004-05-03 21:12:41.000000000 +0400 @@ -2449,6 +2449,10 @@ *sptr++ = '\0'; /* Never hurts NUL terminating a Perl * string ... */ +#if ((PERL_REVISION >= 5) && (PERL_VERSION >= 8)) + if(SvUTF8(str)) + SvUTF8_on(result); +#endif } return result; }