Added encoding in config