title: Write file in UTF-8 mode using Perl
body: <p>I need to write a file with UTF-8 mode in Perl. How do i create that?</p>
  
  <p>Can anyone help in this case?</p>
  
  <p>I'm trying like this, Find my below code,</p>
  
  <pre><code>use utf8;
  use open ':encoding(utf8)'; 
  binmode(FH, ":utf32");
  
  open(FH, "&gt;test11.txt"); 
  print FH "something Çirçös";
  </code></pre>
  
  <p>It's creating a file with UTF-8 Format. But i need to make sure whether that is happening from this script. Because if i'm writing a file without using utf8 encode also, File content is automatically taking as UTF-8 format.</p>