encoding + change mode in parse