Handle encodings without dieing.