Perl Monk, Perl Meditation | |
PerlMonks |
Inserting UTF-8 on Mysql using DBIby Fox (Pilgrim) |
on Oct 14, 2010 at 23:04 UTC ( [id://865369]=perlquestion: print w/replies, xml ) | Need Help?? |
Fox has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks. I'm trying to insert utf8 strings on a mysql database using DBI, I think the problem is on DBI/Perl because the equivalent code worked fine on PHP on this same machine and same database. As you can see, I tried some solutions I found out there already, but none of that worked. The code prints: 狐の工作室 but on the test table: the mysql server version is 5.1.41, DBI is 1.615 and perl is 5.12.1 I am out of ideas already..what could be the problem ?
Back to
Seekers of Perl Wisdom
|
|