Add some encoding-related configurations, still not fix the chinese
encoding problem