Remove check for encoding name, always raise for bad encoding