Inserting ASCII character using shell script
<p>I want to insert a copyright symbol in the comment for a Python file using shell script,</p>

<p>I used the following code for it,</p>

<pre><code>echo -e "# \xc2\xa9 Copyright ABC" | cat - file.py &gt; temp.py
</code></pre>

<p>but when I try to run the temp.py it throws the following error:</p>

<pre><code>Non-ASCII character '\xc2' in file 'temp' but no encoding declared
</code></pre>

<p>I want to insert the symbol using the ASCII code for it, which is 184. 
How do I do it using shell script?</p>