set fileencodings settings and a plugin fencview for detecting fileencoding.