Setting the character encoding to be UTF-8 in vim.
Check if options are available in vim before setting them.

This is for compatibility.