title: VB.net reading ASCII code while reading a text file
body: <p>I am reading a text file in VB.net code. I want to read this line that contains some special character that has a dec value of 176 and hex value is B1 and symbol is + and - at the botttom. Below is the URL that shows that value:</p>
  
  <pre><code>http://www.ascii.cl/htmlcodes.htm
  </code></pre>
  
  <p>How can I read that special character in VB.net that has value of 176</p>
  
  <p>The line is like this</p>
  
  <pre><code>"2314 Test1  Test2 Test3 12.3 special character that has a Dec value of 176 1234"
  </code></pre>
  
  <p>each word is separated by a tab. </p>
  
  <p>This is what I did so far:</p>
  
  <pre><code>     reader = File.OpenText(fileInfo.FullName)
      While reader.Peek &lt;&gt; -1
  
       line = reader.ReadLine()
     End While
     reader.Close()
    reader.Dispose()
  </code></pre>
  
  <p>I also tried to do this:</p>
  
  <pre><code> System.Text.Encoding.GetEncoding(line)
  </code></pre>
  
  <p>any help will be appreciated.</p>