Please put ‘sharutils’ in the subject line for emailed bug reports. It helps to spot the message.
If more than one name in the encoded files are the same, or if the second or following input files specifies standard output for the output file, then the result is probably not what is expected. Specifically, standard output will be appended to and named output files will be replaced.