add python indent setting and change encoding