Unable to run tar command - invalid option -- '▒'
<p>I've run into a problem while running a tar script.  I am getting an invalid option, as shown in the screenshots, that is stopping the script running.  I don't get why however as the command worked outwith the script.  Can anyone help me?</p>

<p>The script:</p>

<p><a href="https://i.stack.imgur.com/PnCgO.png" rel="noreferrer"><img src="https://i.stack.imgur.com/PnCgO.png" alt="The script"></a></p>

<p>The error:</p>

<p><a href="https://i.stack.imgur.com/nTL5O.png" rel="noreferrer"><img src="https://i.stack.imgur.com/nTL5O.png" alt="The error"></a></p>