Fixed character-encoding in export