Fixed encoding issues and set editor to mvim.