fix mysql database character encodings