Convert file from latin1 to utf8

I have done the conversion in vim, which automatically figures out
the input encoding (displayed by the command: `:set fileencoding`).

How to convert data.csv in vim? From a shell terminal, go to the
folder of the file, the run:

  vim data.csv
  :set fileencoding=utf8
  :wq