title: How to write UTF-8 characters to a pdf file using itextsharp?
body: <p>I have tried a lot on google but not able to find..</p>
  
  <p>Any help is appreciated.</p>
  
  <p>Please find the code below:-</p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
      {
          StreamReader read = new StreamReader(@"D:\queryUnicode.txt", Encoding.Unicode);
          string str = read.ReadToEnd();
  
          Paragraph para = new Paragraph(str);
  
          FileStream file = new FileStream(@"D:\Query.pdf",FileMode.Create);
  
          Document pdfDoc = new Document();
          PdfWriter writer = PdfWriter.GetInstance(pdfDoc, file );
  
          pdfDoc.Open();
          pdfDoc.Add(para);
          pdfDoc.Close();
  
          Response.Write("Pdf file generated");
      }
  </code></pre>