Add MySQL charset configuration support