title: Sed not working with special Characters
body: <p>I have a <a href="https://dl.dropbox.com/s/xlzsakliio1h686/sample.txt" rel="nofollow">sample text file</a> with some numbers encoded as Non Ascii characters. I Have the <a href="https://dl.dropbox.com/s/0ow4xlryd7oikws/CharMap.txt" rel="nofollow">character map</a> used to encode the file but when I am using sed to replace each of these characters, I am getting unexpected results. </p>
  
  <p>like these</p>
  
  <pre><code> ¤»¤ ¡  1 3
  
  3ô1ô ôôôôô1ô
  ôôôô
                         ôôôôô¤ôôôôô»ôôôôô¤ôôôôôô ô¡ ô 1 3ô
  </code></pre>
  
  <p>The commands which I have tried are these </p>
  
  <pre><code>sed -r 's/`echo ô`/5/g' new.txt
  sed -r 's/\ô/5/g' new.txt
  </code></pre>
  
  <p>also perl</p>
  
  <pre><code>perl -pe 's/\ô/5/g' &lt; new.txt
  </code></pre>
  
  <p>I need help for this please. Thanks.</p>