Enable support for encodings other than UTF-8
Enable support for encodings other than UTF-8