Recorder doesn't dump with selected encoding, backport #1155