title: How to read DBF file that contain thai wording in C#
body: <p>I have a dbf file which contains thai language in some column. But when I convert it into Data Table, it become unreadable wording.  </p>
  
  <pre><code> var oConn = new System.Data.Odbc.OdbcConnection();
              oConn.ConnectionString = "Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=" + dbPath + ";";
              oConn.Open();
              var oCmd = oConn.CreateCommand();
              oCmd.CommandText = "SELECT badgename FROM " + dbPath + @"\BADGE.DBF";
              var reader = oCmd.ExecuteReader();
              reader.Read();
              byte[] A = Encoding.GetEncoding(Encoding.Default.CodePage).GetBytes(reader.GetString(0));
              string p = Encoding.Unicode.GetString((Encoding.Convert(Encoding.GetEncoding(874), Encoding.Unicode, A)));
  </code></pre>
  
  <p>I also tried to change machine locale to Thai, but still cannot solve my problem. 
  Please help.</p>