Add UTF8 Support When Migrating Data from Sheet to MySQL [Perl]
In recent life, I always need to migrate data from excel sheets into MySQL. But in sometimes, I do some mess-up. For example, αβγ…These are not ASCII symbols. So when I do the migration, they will be Unrecognizable Code.
#!/usr/bin/perl -w use strict; use warnings; use DBI; use Encode; use strict; use Time::localtime; use Data::Dumper; use Time::Local; use Spreadsheet::ParseExcel; use Spreadsheet::WriteExcel;