Fixing doctrine mysql encoding issues