Use UTF8 in MySQL connection and some specific modifications
Commented my two special lines out to be more compatible