Set encoding to nil instead of default encodings