title: perl uri_escape_utf8 with arabic
body: <p>I am trying to escape some Arabic to LWP::UserAgent. I am testing this with a script below:</p>
  
  <pre><code>my $files = "/home/root/temp.txt";
  unlink ($files);
  open (OUTFILE, '&gt;&gt;', $files);
  my $text = "ضثصثضصثشس";
  print OUTFILE uri_escape_utf8($text)."\n";
  close (OUTFILE);
  </code></pre>
  
  <p>However, this seems to cause the following:</p>
  
  <pre><code>%C3%96%C3%8B%C3%95%C3%8B%C3%96%C3%95%C3%8B%C3%94%C3%93
  </code></pre>
  
  <p>which is not correct. Any pointers to what I need to do in order to escape this correctly?</p>
  
  <p>Thank you for your help in advance.</p>
  
  <p>Regards,</p>
  
  <p>Olli</p>