Set encoding to utf-8.

Fixes E474: Invalid argument: listchars