title: Arabic language in RDLC Reports asp.net mvc
body: <p>I'm trying to export MS Word files, But i got small problem with word file when i export it, because the data that i stored it in database is written by Arabic letters, so it's RTL, then the letters appeared as separated letters, this is piece of exported file:</p>
  
  <p><a href="https://i.stack.imgur.com/1fxfG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1fxfG.png" alt="enter image description here"></a></p>
  
  <p>Controller Action:</p>
  
  <pre><code> public ActionResult Report(string id)
      {
  
  
  
          LocalReport lr = new LocalReport();
          string path = Path.Combine(Server.MapPath("~/Report"), "Report1.rdlc");//Report1.rdlc is a tamplate exist in Report Folder.
          if (System.IO.File.Exists(path))
          {
              lr.ReportPath = path;
          }
          else
          {
              return View("Index");
          }
          List&lt;Note&gt; cm = new List&lt;Note&gt;();
  
              cm = db.Notes.ToList();
  
          ReportDataSource rd = new ReportDataSource("DataSet1", cm);
          lr.DataSources.Add(rd);
          string reportType = id;
          string mimeType;
          string encoding;
          string fileNameExtension;
  
  
  
          string deviceInfo =
  
          "&lt;DeviceInfo&gt;" +
          "  &lt;OutputFormat&gt;" + id + "&lt;/OutputFormat&gt;" +
          "  &lt;PageWidth&gt;8.5in&lt;/PageWidth&gt;" +
          "  &lt;PageHeight&gt;11in&lt;/PageHeight&gt;" +
          "  &lt;MarginTop&gt;0.5in&lt;/MarginTop&gt;" +
          "  &lt;MarginLeft&gt;1in&lt;/MarginLeft&gt;" +
          "  &lt;MarginRight&gt;1in&lt;/MarginRight&gt;" +
          "  &lt;MarginBottom&gt;0.5in&lt;/MarginBottom&gt;" +
          "&lt;/DeviceInfo&gt;";
  
          Warning[] warnings;
          string[] streams;
          byte[] renderedBytes;
  
          renderedBytes = lr.Render(
              reportType,
              deviceInfo,
              out mimeType,
              out encoding,
              out fileNameExtension,
              out streams,
              out warnings);
  
  
          return File(renderedBytes, mimeType);
      }
  </code></pre>
  
  <p>When i export files in PDF, xlsx, and PNG extensions, they work correctly.
  Someone tell me that problem could be related to UTF-8, is it possible? </p>
  
  <p>Any Suggestion?</p>