title: I'm not able to extract kannada text from .html files from browser
body: <p>I have a Perl program that get corpus from web using the <code>wget</code> command of the shell. While using <code>lynx -dump</code> command to extract data from HTML, this is working fine from the command prompt. But when I am tying to run the same program from the browser, the kannada text from the files is not extracting from files. I am able to get only the English text. My program is like this </p>
  
  <pre><code>#!/usr/bin/perl
  print "Content-Type:text/html;
  charset=utf-8\n\n";
  use CGI;
  use Cwd;
  my $ftpname="www.kuvempu.com";
  chomp($ftpname);
  system("wget --mirror -p --convert-links -x --reject=gif $ftpname");
  print("please wait a while data has been downloding");
  system("rm -rf $ftpname/en");
  system("rm -rf $ftpname/images");
  system("rm -rf $ftpname/source");
  my @files = glob("$ftpname/*");
  foreach my $f(@files) {
      system("lynx -dump $f &gt; $f.txt");
      }
  open fp,"&gt;&gt;$ftpname-text-file" || die "coun't noe create $ftpname-text-file";
  my @outfiles=glob("$ftpname/*.txt");
  foreach my $f1(@outfiles) {
      open(aaa,"&lt;$f1"); print fp &lt;aaa&gt;; close(aaa);
      }
  close(fp);
  system("grep -v http $ftpname-text-file &gt; a");
  system("grep -v file a &gt; b");
  system("sed -e 's/[a-zA-Z]//g' b &gt; c");
  system("egrep -v -x '.{1,10}' c &gt; d");
  system("grep -v '\]' d &gt; e");
  system("grep -v '©' e &gt; f");
  system("grep -v '[0-9] - [0-9]' f &gt; g");
  system("sed 's/^ //g' g &gt; h");
  system("sed 's/^-//g' h &gt; i");
  </code></pre>