setUnknownEncoding(): don't crash on unsuspecting people