I tried to encrypt a directory using Kleopatra from Debian/testing (4:18.08.3-1), and it fails with the following message:
Output of /bin/tar cf - -T- ... -> encme.tar.gpg: Encryption failed. Input error: Error while running /bin/tar: /bin/tar: -: file name read contains nul character /bin/tar: The following options were used after any non-optional arguments in archive create or update mode. These options are positional and affect only arguments that follow them. Please, rearrange them properly. /bin/tar: --null has no effect /bin/tar: Exiting with failure status due to previous errors